Describes a single element in a vertex buffer layout. More...
#include <Buffer.h>
Public Member Functions | |
BufferElement (const ShaderDataType type, std::string name, const bool normalised=false) | |
uint32_t | GetComponentCount () const |
Public Attributes | |
std::string | Name |
ShaderDataType | Type |
uint32_t | Size |
uint32_t | Offset |
bool | Normalised |
Describes a single element in a vertex buffer layout.
Contains all the information needed to describe how a single vertex attribute is laid out in memory: