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 std::
uint32_t MaxNameLength constexpr
Constructors, destructors, conversion operators
Public functions
- auto GetIndex() const -> GLuint
- auto GetBlockIndex() const -> GLint
- auto GetLocation() const -> GLint
- auto GetSize() const -> GLint
- auto GetType() const -> GLenum
- auto GetOffset() const -> GLint
- auto GetName() const -> const char*
- auto GetBasicType() const -> GLenum
-
auto GetComponentCount() const -> std::
uint32_t -
auto GetMemorySize() const -> std::
uint32_t - auto HasReservedPrefix() const -> bool
- Returns true if the uniform name starts with
gl_