Struct GLShader::Buffer¶
Defined in File glutil.h
Page Contents
Nested Relationships¶
This struct is a nested type of Class GLShader.
Struct Documentation¶
-
struct
Buffer
A wrapper struct for maintaining various aspects of items being managed by OpenGL. Buffers are created when GLShader::uploadAttrib is called.
Public Members
-
GLuint
id
The identifier used with OpenGL.
-
GLuint
glType
The OpenGL type of this buffer.
-
GLuint
dim
The dimension of this buffer (typically the row width).
-
GLuint
compSize
The size (in bytes) of an individual element in this buffer.
-
GLuint
size
The total number of elements represented by this buffer.
-
int
version
The current version if this buffer.
-
GLuint