class
#include <nCine/Graphics/GL/GLUniform.h>
GLUniform Stores information about an active OpenGL shader uniform.
Its only purpose is to initialize a GLUniformCache
class.
Public static variables
- static int MaxNameLength constexpr
Constructors, destructors, conversion operators
Public functions
- auto index() const -> GLuint
- auto blockIndex() const -> GLint
- auto location() const -> GLint
- auto size() const -> GLint
- auto type() const -> GLenum
- auto offset() const -> GLint
- auto name() const -> const char*
- auto basicType() const -> GLenum
- auto numComponents() const -> unsigned int
- auto memorySize() const -> unsigned int
- auto hasReservedPrefix() const -> bool
- Returns true if the uniform name starts with
gl_