Support Forum G3D Web Page |
Vertex Attribute (stream) variable declaration discovered in the program. More...
Public Attributes | |
bool | dummy |
If true, this attribute is not used by the shader program, so we never try to bind a value to it. More... | |
GLint | elementNum |
The number of elements in this variable. More... | |
GLint | location |
OpenGL location returned by glGetAttribLocation, -1 if this uniform is inactive. More... | |
String | name |
GLenum | type |
OpenGL type of the variable (e.g. More... | |
Vertex Attribute (stream) variable declaration discovered in the program.
Array-valued attributes are untested
bool G3D::Shader::ShaderProgram::AttributeDeclaration::dummy |
If true, this attribute is not used by the shader program, so we never try to bind a value to it.
GLint G3D::Shader::ShaderProgram::AttributeDeclaration::elementNum |
The number of elements in this variable.
For non-arrays, this is 1.
GLint G3D::Shader::ShaderProgram::AttributeDeclaration::location |
OpenGL location returned by glGetAttribLocation, -1 if this uniform is inactive.
String G3D::Shader::ShaderProgram::AttributeDeclaration::name |
GLenum G3D::Shader::ShaderProgram::AttributeDeclaration::type |
OpenGL type of the variable (e.g.
GL_INT)