Specialization of GlRenderValue. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/gl_render_value.hpp>
Public Member Functions | |
GlRenderValue () | |
Empty constructor. More... | |
GlRenderValue (Material &material, string_view name) | |
Constructor. More... | |
GlRenderValue (int uniformLocation, string_view name) | |
Constructor. More... | |
GlRenderValue (KZ_RV_REF(GlRenderValue) other) | |
Move constructor. More... | |
TextureSharedPtr | get () const |
Get a shared pointer to the texture contained in this object. More... | |
void | set (TextureSharedPtr value) |
Set the weak pointer to the texture resource. More... | |
GlRenderValue & | operator= (KZ_RV_REF(GlRenderValue) other) |
Move operator. More... | |
Public Member Functions inherited from kanzi::GlRenderValueBase | |
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... | |
Additional Inherited Members | |
Protected Attributes inherited from kanzi::GlRenderValueBase | |
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... | |
Specialization of GlRenderValue.
|
inlineexplicit |
Empty constructor.
|
inlineexplicit |
Constructor.
material | Material to acquire uniform location from. |
name | Name of the render value. |
|
inlineexplicit |
Constructor.
uniformLocation | Uniform location already acquired from shader. |
name | Name of the render value. |
|
inline |
Move constructor.
other | Source object. |
|
inline |
Get a shared pointer to the texture contained in this object.
|
inline |
Set the weak pointer to the texture resource.
value | Shared pointer to the texture resource. |
|
inline |
Move operator.
other | Source object. |