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. | |
| var | location |
| The place where the uniform placed, starts from 0. | |
| local | location |
| The place where the uniform placed, starts from 0. | |
| GLint | size |
| Number of data type in Uniform. | |
| var | size |
| Number of data type in Uniform. | |
| local | size |
| Number of data type in Uniform. | |
| GLenum | type |
| Data type of the Uniform. | |
| var | type |
| Data type of the Uniform. | |
| local | type |
| Data type of the Uniform. | |
| std::string | name |
| String of the uniform name. | |
| var | name |
| String of the uniform name. | |
| local | name |
| String of the uniform name. | |
Uniform is a structure to encapsulate data got from glGetActiveUniform and glGetUniformLocation.