20 #ifndef FASTUIDRAW_PAINTER_BLEND_SHADER_GLSL_HPP 21 #define FASTUIDRAW_PAINTER_BLEND_SHADER_GLSL_HPP 170 unsigned int num_sub_shaders = 1,
A ShaderSource represents the source code to a GLSL shader, specifying blocks of source code and macr...
DependencyList & operator=(const DependencyList &rhs)
A PainterBlendShader represents a shader for performing blending operations.
DependencyList & add_shader(c_string name, const reference_counted_ptr< const PainterBlendShaderGLSL > &shader)
c_array< const c_string > dependency_list_names(void) const
all classes and functions of FastUIDraw are in the namespace fastuidraw.
A wrapper over a pointer to implement reference counting.
c_array< const reference_counted_ptr< const PainterBlendShaderGLSL > > dependency_list_shaders(void) const
A PainterBlendShaderGLSL is a PainterBlendShader whose shader code fragment is via GLSL...
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
const char * c_string
Conveniant typedef for C-style strings.
void swap(DependencyList &obj)
shader_type
Enumeration to specify how blend shader operates.
If one wishes to make use of other PainterBlendShaderGLSL fastuidraw_gl_compute_blend_value(), fastuidraw_gl_compute_blend_factors() or fastuidraw_gl_compute_post_blended_value() routines of other shaders (for example to have a simple shader that adds on to a previous shader), a DependencyList provides the means to do so.
const glsl::ShaderSource & blend_src(void) const
file painter_blend_shader.hpp