class
#include <nCine/Graphics/GL/GLVertexFormat.h>
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 vbo() const -> const GLBufferObject*
- auto index() const -> unsigned int
- auto size() const -> GLint
- auto type() const -> GLenum
- auto isNormalized() const -> bool
- auto stride() const -> GLsizei
- auto pointer() const -> const GLvoid*
-
auto baseOffset() 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)