Other |
---|
internalFixed |
We use MTLArgumentEncoder to pass uniform variables to Fragment functions. Each time when we set a uniform variable using its name, we map that variable to it's id. Each of the method needs converting java string to objective c string: This seems to be consuming more memory which can be avoided. This can be avoided by caching the name to id map on Java side in MTLShader.java
|