class
#include <nCine/Graphics/GL/GLAttribute.h>
GLAttribute Stores information about an active OpenGL shader attribute.
Constructors, destructors, conversion operators
- GLAttribute()
- GLAttribute(GLuint program, GLuint index)
Public functions
- auto GetLocation() const -> GLint
- auto GetSize() const -> GLint
- auto GetType() const -> GLenum
- auto GetName() const -> const char*
- auto GetBasicType() const -> GLenum
-
auto GetComponentCount() const -> std::
int32_t - auto HasReservedPrefix() const -> bool
- Returns true if the attribute name starts with
gl_