Uniform is a structure to encapsulate data got from glGetActiveUniform and glGetUniformLocation. More...
Public Attributes | |
GLint | location |
The place where the uniform placed, starts from 0. More... | |
GLint | size |
Number of data type in attribute. More... | |
GLenum | type |
Data type of the attribute. More... | |
std::string | name |
String of the uniform name. More... | |
Uniform is a structure to encapsulate data got from glGetActiveUniform and glGetUniformLocation.
GLint location |
The place where the uniform placed, starts from 0.
GLint size |
Number of data type in attribute.
GLenum type |
Data type of the attribute.
std::string name |
String of the uniform name.