GLW
Computer Graphics Structures library
glw::Attrib Struct Reference

Array attribute. Defines how specific data are stored in combined buffer. For example how are vertex colors stored in array of vertex data. More...

Inherited by glw::TAttrib< T, N >.

Public Member Functions

 Attrib (gl::GLenum gl_type, uint32_t data_per_vert, uint32_t byte_offset, uint32_t byte_stride)
 

Data Fields

gl::GLenum type
 
uint32_t per_vert
 
uint64_t offset
 
uint32_t stride
 

Detailed Description

Array attribute. Defines how specific data are stored in combined buffer. For example how are vertex colors stored in array of vertex data.