Kanzi  3.9.7
Kanzi Engine API
kanzi::GlBlendModeRenderValue Class Reference

Custom blend mode render value implementation. More...

#include <kanzi/core.ui/platform/graphics_backend/gl/gl_render_value.hpp>

Inheritance diagram for kanzi::GlBlendModeRenderValue:
[legend]

Public Member Functions

optional< int > get () const
 Gets the blend mode value. More...
 
 GlBlendModeRenderValue ()
 Empty constructor. More...
 
 GlBlendModeRenderValue (GlBlendModeRenderValue &&other)=default
 Move constructor. More...
 
GlBlendModeRenderValueoperator= (GlBlendModeRenderValue &&other)=default
 Move operator. More...
 
void set (optional< int > blendMode)
 Sets the blend mode. More...
 
- Public Member Functions inherited from kanzi::GlRenderValueBase
const char * getName () const
 Access name. More...
 
int getUniformLocation () const
 Gets uniform location. More...
 
 GlRenderValueBase ()=default
 Constructor. More...
 
 GlRenderValueBase (Material &material, string_view name)
 Constructor. More...
 
 GlRenderValueBase (int uniformLocation, string_view name)
 Constructor. More...
 
 GlRenderValueBase (GlRenderValueBase &&other)=default
 Move constructor. More...
 
bool isDirty () const
 Tells if this value is dirty. More...
 
bool isNamed (string_view name) const
 Tells if the render value has given name. More...
 
bool isValid () const
 Tells if this value information is valid. More...
 
GlRenderValueBaseoperator= (GlRenderValueBase &&other)=default
 Move operator. More...
 
void setDirty (bool enabled)
 Sets dirty status. More...
 
void setUniformLocation (int uniformLocation)
 Sets uniform location. More...
 

Additional Inherited Members

- Protected Attributes inherited from kanzi::GlRenderValueBase
bool m_dirty
 Is this value dirty and needs updating? More...
 
ImmutableString m_name
 Name of the render value. More...
 
int m_uniformLocation
 Uniform location. More...
 

Detailed Description

Custom blend mode render value implementation.

Since
Kanzi 3.9.1

Constructor & Destructor Documentation

kanzi::GlBlendModeRenderValue::GlBlendModeRenderValue ( )
inlineexplicit

Empty constructor.

kanzi::GlBlendModeRenderValue::GlBlendModeRenderValue ( GlBlendModeRenderValue &&  other)
default

Move constructor.

Parameters
otherSource object.

Member Function Documentation

optional<int> kanzi::GlBlendModeRenderValue::get ( ) const
inline

Gets the blend mode value.

Returns
Contained value.
void kanzi::GlBlendModeRenderValue::set ( optional< int >  blendMode)
inline

Sets the blend mode.

Parameters
blendModeBlend mode value.
GlBlendModeRenderValue& kanzi::GlBlendModeRenderValue::operator= ( GlBlendModeRenderValue &&  other)
default

Move operator.

Parameters
otherSource object.
Returns
Reference to this object.

The documentation for this class was generated from the following file: