class
#include <nCine/Graphics/GL/GLVertexFormat.h>
Attribute Vertex format attribute.
Constructors, destructors, conversion operators
Public functions
-
void Init(std::
uint32_t index, GLint size, GLenum type) - auto operator==(const Attribute& other) const -> bool
- auto operator!=(const Attribute& other) const -> bool
- auto IsEnabled() const -> bool
- auto GetVbo() const -> const GLBufferObject*
-
auto GetIndex() const -> std::
uint32_t - auto GetSize() const -> GLint
- auto GetType() const -> GLenum
- auto IsNormalized() const -> bool
- auto GetStride() const -> GLsizei
- auto GetPointer() const -> const GLvoid*
-
auto GetBaseOffset() const -> std::
uint32_t - void SetVboParameters(GLsizei stride, const GLvoid* pointer)
- void setVbo(const GLBufferObject* vbo)
-
void SetBaseOffset(std::
uint32_t baseOffset) - void SetSize(GLint size)
- void setType(GLenum type)
- void SetNormalized(bool normalized)