Base class for render value information. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/gl_render_value.hpp>
Public Member Functions | |
GlRenderValueBase (Material &material, string_view name) | |
Constructor. More... | |
GlRenderValueBase () | |
Constructor. More... | |
GlRenderValueBase (int uniformLocation, string_view name) | |
Constructor. More... | |
GlRenderValueBase (KZ_RV_REF(GlRenderValueBase) other) | |
Move constructor. More... | |
bool | isNamed (string_view name) const |
Tells if this render value info matches given parameters. More... | |
bool | isDirty () const |
Tells if this value is dirty. More... | |
void | setDirty (bool enabled) |
Sets dirty status. More... | |
bool | isValid () const |
Tells if this value information is valid. More... | |
const char * | getName () const |
Access name. More... | |
int | getUniformLocation () const |
Gets uniform location. More... | |
void | setUniformLocation (int uniformLocation) |
Sets uniform location. More... | |
GlRenderValueBase & | operator= (KZ_RV_REF(GlRenderValueBase) other) |
Move operator. More... | |
Protected Attributes | |
int | m_uniformLocation |
Uniform location. More... | |
bool | m_dirty |
Is this value dirty and needs updating? More... | |
ImmutableString | m_name |
Name of the render value. More... | |
Base class for render value information.
Inherited by individual render value containers
|
explicit |
Constructor.
material | Material to acquire uniform location from. |
name | Name of the render value. |
|
inlineexplicit |
Constructor.
|
inlineexplicit |
Constructor.
|
inline |
Move constructor.
other | Source object. |
|
inline |
Tells if this render value info matches given parameters.
|
inline |
Tells if this value is dirty.
|
inline |
Sets dirty status.
enabled | New dirty flag state. |
|
inline |
Tells if this value information is valid.
|
inline |
Access name.
|
inline |
Gets uniform location.
|
inline |
Sets uniform location.
uniformLocation | New uniform location. |
|
inline |
Move operator.
other | Source object. |
|
protected |
Uniform location.
|
protected |
Is this value dirty and needs updating?
|
protected |
Name of the render value.