nCine::GLAttribute class

Stores information about an active OpenGL shader attribute.

Constructors, destructors, conversion operators

GLAttribute()
GLAttribute(GLuint program, GLuint index)

Public functions

auto location() const -> GLint
auto size() const -> GLint
auto type() const -> GLenum
auto name() const -> const char*
auto basicType() const -> GLenum
auto numComponents() const -> int
auto hasReservedPrefix() const -> bool
Returns true if the attribute name starts with gl_