Attribute class
A single vertex attribute within a vertex format.
Constructors, destructors, conversion operators
Public functions
-
void Init(std::
uint32_t index, std:: int32_t size, std:: uint32_t type) - auto operator==(const Attribute& other) const -> bool
- auto operator!=(const Attribute& other) const -> bool
- auto IsEnabled() const -> bool
- auto GetVbo() const -> const SwBuffer*
-
auto GetIndex() const -> std::
uint32_t -
auto GetSize() const -> std::
int32_t -
auto GetType() const -> std::
uint32_t - auto IsNormalized() const -> bool
-
auto GetStride() const -> std::
int32_t - auto GetPointer() const -> const void*
-
auto GetBaseOffset() const -> std::
uint32_t -
void SetVboParameters(std::
int32_t stride, const void* pointer) - void setVbo(const SwBuffer* vbo)
-
void SetBaseOffset(std::
uint32_t baseOffset) -
void SetSize(std::
int32_t size) -
void SetType(std::
uint32_t type) - void SetNormalized(bool normalized)