20 #ifndef FASTUIDRAW_PAINTER_BRUSH_SHADER_GLSL_HPP 21 #define FASTUIDRAW_PAINTER_BRUSH_SHADER_GLSL_HPP 191 unsigned int num_sub_shaders = 1,
213 unsigned int num_sub_shaders = 1);
A ShaderSource represents the source code to a GLSL shader, specifying blocks of source code and macr...
A PainterBrushShaderGLSL is a PainterBrushShader whose shader code fragment is via GLSL...
A varying_list lists all the in's of a frag shader (and their names) which is the same as the out's o...
all classes and functions of FastUIDraw are in the namespace fastuidraw.
const ShaderSource & fragment_src(void) const
A wrapper over a pointer to implement reference counting.
file painter_brush_shader.hpp
varying_list m_varying_list
unsigned int context_texture_start(void) const
DependencyList & operator=(const DependencyList &rhs)
void swap(DependencyList &obj)
A symbol_list embodies a varying_list along with a set of shareable values for the vertex and fragmen...
DependencyList & add_shader(c_string name, const reference_counted_ptr< const PainterBrushShaderGLSL > &shader)
unsigned int number_context_textures(void) const
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
If one wishes to make use of other PainterBrushShaderGLSL fastuidraw_gl_vert_brush_main()/fastuidraw_...
const char * c_string
Conveniant typedef for C-style strings.
A PainterBrushShader represents a shader for performing a custom brush coloring.
const symbol_list & symbols(void) const
const ShaderSource & vertex_src(void) const
const varying_list & varyings(void) const
c_array< const c_string > dependency_list_names(void) const
c_array< const reference_counted_ptr< const PainterBrushShaderGLSL > > dependency_list_shaders(void) const