Struct Shaders::ArrayUni
ClassList > Shaders > ArrayUni
Array uniform data container. More...
#include <Shaders.h>
Public Attributes
| Type | Name |
|---|---|
| float * | data Pointer to array data. |
| GLuint | size Number of elements in the array. |
| ArrayType | type Type of array (vec1, vec2, vec3, vec4, mat4) |
Detailed Description
Used for passing arrays of data to shader uniforms (e.g., light arrays, bone matrices, etc.).
Public Attributes Documentation
variable data
Pointer to array data.
float* Shaders::ArrayUni::data;
variable size
Number of elements in the array.
GLuint Shaders::ArrayUni::size;
variable type
Type of array (vec1, vec2, vec3, vec4, mat4)
ArrayType Shaders::ArrayUni::type;
The documentation for this class was generated from the following file src/render/Shaders.h