opengl - Difference between GL_VERTEX_ARRAY_ADDRESS_NV and GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV -


in: http://developer.download.nvidia.com/opengl/specs/gl_nv_vertex_buffer_unified_memory.txt

under void bufferaddressrangenv(enum pname, uint index, uint64ext address, sizeiptr length);

in extension states:

vertex_attrib_array_address_nv , <index> identifies      generic vertex attribute address being specified. 

i thought vertex_array_address_nv generic vertex attribute. difference between them?

generic vertex attributes user-defined vertex shader attributes. things gl_vertex, gl_color, , forth not generic vertex attributes (though nvidia implementations illegally alias generic attributes them).

vertex_array_address_nv address feeds built-in attribute gl_vertex.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -