class
#include <nCine/Graphics/GL/GLVertexFormat.h>
Attribute
Constructors, destructors, conversion operators
Public functions
- void init(unsigned int 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 -> unsigned int
- void setVboParameters(GLsizei stride, const GLvoid* pointer)
- void setVbo(const GLBufferObject* vbo)
- void setBaseOffset(unsigned int baseOffset)
- void setSize(GLint size)
- void setType(GLenum type)
- void setNormalized(bool normalized)