Kanzi  3.9.4
Kanzi Engine API
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

 kanzi
 Easing functions that require external dependencies for calculation.
 

Typedefs

using kanzi::TextureWeakPtr = weak_ptr< Texture >
 

Functions

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