FastUIDraw
|
A PainterShaderGroup gives to what groups the active shaders of a Painter belong. More...
#include <painter_shader_group.hpp>
Public Member Functions | |
uint32_t | blend_group (void) const |
BlendMode | blend_mode (void) const |
enum PainterBlendShader::shader_type | blend_shader_type (void) const |
uint32_t | brush_group (void) const |
uint32_t | item_group (void) const |
Protected Member Functions | |
PainterShaderGroup (void) | |
A PainterShaderGroup gives to what groups the active shaders of a Painter belong.
Definition at line 37 of file painter_shader_group.hpp.
|
inlineprotected |
Ctor, do NOT derive from PainterShaderGroup, doing so is asking for heaps of trouble and pain.
Definition at line 81 of file painter_shader_group.hpp.
uint32_t fastuidraw::PainterShaderGroup::blend_group | ( | void | ) | const |
The group (see PainterShader::group()) of the active blend shader.
BlendMode fastuidraw::PainterShaderGroup::blend_mode | ( | void | ) | const |
The BlendMode value for the active blend shader.
enum PainterBlendShader::shader_type fastuidraw::PainterShaderGroup::blend_shader_type | ( | void | ) | const |
Returns the PainterBlendShader::shader_type of the active PainterBlendShader. If there is no active PainterBlendShader, returns PainterBlendShader::number_types .
uint32_t fastuidraw::PainterShaderGroup::brush_group | ( | void | ) | const |
The group (see PainterShader::group()) of the active brush shader.
uint32_t fastuidraw::PainterShaderGroup::item_group | ( | void | ) | const |
The group (see PainterShader::group()) of the active item shader.