Struct OpenGLVertexBuffer::Element

Nested Relationships

This struct is a nested type of Class OpenGLVertexBuffer.

Struct Documentation

struct Element

Public Functions

inline Element(ShaderDataType type, const std::string &name, bool normalized = false)
inline uint32_t GetComponentCount() const

Public Members

std::string name
ShaderDataType type
uint32_t size
size_t offset
bool normalized