Kanzi Framework  3.9.0
Kanzi Engine API
gl_render_value.hpp File Reference

Classes

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

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)
 updateRenderValueContainer() specialization. More...
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< int > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< float > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< ColorRGBA > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector2 > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector3 > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Vector4 > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Matrix3x3 > &value)
 updateRenderValueContainer() specialization. More...
 
template<>
void kanzi::updateRenderValueOverride (Renderer &renderer, const GlRenderValue< Matrix4x4 > &value)
 updateRenderValueContainer() specialization. More...