20 #ifndef FASTUIDRAW_PAINTER_BLEND_SHADER_HPP 21 #define FASTUIDRAW_PAINTER_BLEND_SHADER_HPP 80 unsigned int num_sub_shaders = 1):
94 m_type(parent->
type())
A PainterBlendShader represents a shader for performing blending operations.
all classes and functions of FastUIDraw are in the namespace fastuidraw.
A PainterShader encapsulates how to draw or blend.
A wrapper over a pointer to implement reference counting.
PainterBlendShader(reference_counted_ptr< PainterBlendShader > parent, unsigned int sub_shader)
uint32_t sub_shader(void) const
PainterBlendShader(enum shader_type tp, unsigned int num_sub_shaders=1)
const reference_counted_ptr< PainterShader > & parent(void) const
shader_type
Enumeration to specify how blend shader operates.
enum shader_type type(void) const