Kanzi 3.9.10
gl_render_value.hpp File Reference

Classes

class  kanzi::GlBlendModeRenderValue
 Custom blend mode render value implementation. More...
 
class  kanzi::GlRenderValue< T >
 Individual render value container. More...
 
class  kanzi::GlRenderValue< TextureSharedPtr >
 Specialization of GlRenderValue. More...
 
class  kanzi::GlRenderValueBase
 Base class for render value information. More...
 

Namespaces

namespace  kanzi
 

Typedefs

using kanzi::TextureWeakPtr
 

Functions

optional< int > kanzi::acquireBlendModeRenderValue (AbstractPropertyType propertyType, Node *node, Brush &brush, Material &material)
 Specialized acquire of blend mode value.
 
optional< int > kanzi::acquireBlendModeRenderValue (AbstractPropertyType propertyType, Node *node, PropertyObject *object, Material &material)
 Acquires the blend mode value.
 
int kanzi::acquireUniformLocation (Material &material, string_view name)
 Acquire uniform location from a material.
 
unsigned int kanzi::getUniformElementCount (Material &material, string_view name)
 Get uniform element count from a material.
 
template<typename T >
void kanzi::updateRenderValue (Renderer &renderer, GlRenderValue< T > &value)
 Update render value container to GPU.
 
template<typename T >
bool kanzi::updateRenderValue (Renderer &renderer, GlRenderValue< T > &value, unsigned int textureUnit)
 Update render value container to the GPU.
 
template<>
bool kanzi::updateRenderValue (Renderer &renderer, GlRenderValue< TextureSharedPtr > &value, unsigned int textureUnit)
 updateRenderValueContainer() specialization.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< bool > &value)
 updateRenderValueOverride() specialization.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< ColorRGBA > &value)
 updateRenderValueOverride() specialization.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< float > &value)
 updateRenderValueOverride() specialization.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< int > &value)
 updateRenderValueOverride() specialization.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Matrix3x3 > &value)
 updateRenderValueOverride() specialization.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Matrix4x4 > &value)
 updateRenderValueOverride() specialization.
 
template<typename T >
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< T > &value)
 Type-specific render value update to GPU.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector2 > &value)
 updateRenderValueOverride() specialization.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector3 > &value)
 updateRenderValueOverride() specialization.
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector4 > &value)
 updateRenderValueOverride() specialization.