gl_render_value.hpp File Reference

Classes

class  kanzi::GlRenderValueBase
 Base class for render value information. More...
 
class  kanzi::GlRenderValue< T >
 Individual render value container. More...
 

Namespaces

 kanzi
 

Functions

int kanzi::acquireUniformLocation (Material &material, string_view name)
 Acquire uniform location from a material. 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...
 
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...