OpenGL ES 2.0: Attribute not active -


in reading book: opengl es 2.0 programming guide (addison-wesley). , have read following:

"attribute names not exist or not active in vertex shader attached program object ignored."

when attribute not active?

thanks.

from opengl specification:

a generic attribute variable considered active if determined compiler , linker attribute may accessed when shader executed. attribute variables declared in vertex shader never used not count against limit. in cases compiler , linker cannot make conclusive determination, attribute considered active. program object fail link if number of active vertex attributes exceeds max_vertex_attribs.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -