Tutorial by Examples

Information about vertex attributes can be retrieved with the OGL function glGetProgram and the parameters GL_ACTIVE_ATTRIBUTES and GL_ACTIVE_ATTRIBUTE_MAX_LENGTH. The location of an active shader attribute can be determined by the OGL function glGetAttribLocation, by the index of the attribute. G...
Information about active uniforms in a program can be retrieved with the OGL function glGetProgram and the parameters GL_ACTIVE_UNIFORMS and GL_ACTIVE_UNIFORM_MAX_LENGTH. The location of an active shader uniform variable can be determined by the OGL function glGetActiveUniform, by the index of the ...

Page 1 of 1