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
Post a Comment