|
enum | RenderMode { RenderModeNone,
RenderModeContent,
RenderModeNoContent
} |
| Enum signifying currently selected render mode. More...
|
|
TextureSharedPtr | getContentTextureValue () const |
| Gets the last used content texture value. More...
|
|
MaterialSharedPtr | getMaterial () override |
| Get currently set material for the renderer. More...
|
|
float | getRenderOpacityValue () const |
| Gets the last used render opacity value. More...
|
|
MaterialSharedPtr | acquireErrorMaterial () |
| Acquire error material for rendering. More...
|
|
| GlBrushRenderer (Brush *brush, Node *node) |
| Constructor. More...
|
|
| ~GlBrushRenderer () override |
| Destructor. More...
|
|
void | bind (Renderer3D &renderer) |
| Bind brush renderer for rendering. More...
|
|
void | draw (Renderer &renderer, const Geometry &quad, const Matrix4x4 &transform) |
| Draw a brush using given quad. More...
|
|
void | draw (Renderer &renderer, const Geometry &quad, const Matrix3x3 &transform) |
| Overload for draw a brush using given quad. More...
|
|
int | getBlendModeValue () |
| Gets the last used blend mode value. More...
|
|
Brush * | getBrush () const |
| Access brush. More...
|
|
TextureSharedPtr | getContentTexture () const |
| Access content texture. More...
|
|
Node * | getNode () const |
| Gets the attached node. More...
|
|
unsigned int | getPropertyChangeCounter () const |
| Access property change counter. More...
|
|
RenderMode | getRenderMode () const |
| Get currently selected render mode. More...
|
|
float | getRenderOpacity () const |
| Access opacity. More...
|
|
bool | hasRenderMode () const |
| Indicates whether a valid render mode is selected. More...
|
|
void | restoreResources () |
| Restore resources after sleep. More...
|
|
void | setContentTexture (TextureSharedPtr texture) |
| Set a content texture. More...
|
|
void | setRenderOpacity (float opacity) |
| Set opacity to use for next attach. More...
|
|
void | updateRender (optional< int > blendMode, bool forceOpaque, bool translucencyHint) |
| Called from Node2D::updateRender(). More...
|
|
virtual | ~BrushRenderer ()=default |
| Destructor. More...
|
|
int | m_blendModeFallback |
| Blend mode fallback. More...
|
|
optional< int > | m_blendModeOverride |
| Blend mode override. More...
|
|
BlendModeValuePropertyNotificationHandler | m_blendModeProperty |
| Property listener for blend mode. More...
|
|
GlBlendModeRenderValue | m_blendModeValue |
| Render value. More...
|
|
GlRenderValue< TextureSharedPtr > | m_contentTextureValue |
| Render value. More...
|
|
MaterialSharedPtr | m_material |
| Currently selected material. More...
|
|
GlRenderValue< float > | m_renderOpacityValue |
| Render value. More...
|
|
Brush * | m_brush |
| Brush attached to. More...
|
|
unsigned int | m_brushPropertyChangeCounter |
| Property change counter to track brush. More...
|
|
TextureSharedPtr | m_contentTexture |
| Content texture provided to the brush renderer from outside, e.g. from Node2D. More...
|
|
Node * | m_node |
| Node attached to. More...
|
|
RenderMode | m_renderMode |
| Currently used render mode (or none if not selected). More...
|
|
float | m_renderOpacity |
| Opacity to issue on attach. More...
|
|
OpenGL texture brush renderer class.