cubos::core::gl::ConstantBufferElement struct

Describes an element in a constant buffer.

Public variables

char name
Element name.
std::size_t offset
Offset of the element in the buffer.
std::size_t size
Number of values in the element if it is an array. If it isn't, this is set to 1.
std::size_t stride
Stride between each element in the array, if the element is an array.