iphone - What is the maximum size of a uniform array that can be passed to a shader in ios? -


i using instanced rendering passing array of model view matrices. maximum array size possible particular uniform?

this value vary hardware , implementation. believe

int maxuniformvectors; glget(gl_max_vertex_uniform_vectors, &maxuniformvectors); 

should answer question. docs: should return "the maximum number of four-element floating-point, integer, or boolean vectors can held in uniform variable storage vertex shader. value must @ least 128."


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -