flatui::FontShader Class Reference
Helper class to handle shaders for a font rendering. The class keeps a reference to a shader, and a location of uniforms with a fixed names. A caller is responsive not to call set_* APIs that specified shader doesn't support.
More...
#include <font_manager.h>
Detailed Description
Helper class to handle shaders for a font rendering. The class keeps a reference to a shader, and a location of uniforms with a fixed names. A caller is responsive not to call set_* APIs that specified shader doesn't support.
Public Member Functions
void set (fplbase::Shader *shader)
void set_renderer (const fplbase::Renderer &renderer)
void set_position_offset (const mathfu::vec3 &vec)
void set_color (const mathfu::vec4 &vec)
void set_clipping (const mathfu::vec4 &vec)
void set_threshold (float f)
fplbase::UniformHandle clipping_handle ()
fplbase::UniformHandle color_handle ()
fplbase::UniformHandle position_offset_handle ()
fplbase::UniformHandle threshold_handle ()
The documentation for this class was generated from the following file: