|
enum | RenderMode { RenderModeNone
, RenderModeContent
, RenderModeNoContent
} |
| Enum signifying currently selected render mode. More...
|
|
MaterialSharedPtr | acquireErrorMaterial () |
| Acquires an error material for rendering.
|
|
void | attachMaterial (MaterialSharedPtr material) |
| Attaches a custom material.
|
|
void | bind (Renderer3D &renderer) |
| Binds a brush renderer for rendering.
|
|
void | bind (Renderer3D &renderer, PropertyObject *object) |
| Binds a brush renderer for rendering.
|
|
void | draw (Renderer &renderer, const Geometry &quad, const Matrix3x3 &transform) |
| Overload for drawing a brush using a given quad.
|
|
void | draw (Renderer &renderer, const Geometry &quad, const Matrix4x4 &transform) |
| Draws a brush using a given quad.
|
|
optional< int > | getBlendModeOverride () const |
| Gets the blend mode override value.
|
|
int | getBlendModeValue () const |
| Gets the last used blend mode value.
|
|
Brush * | getBrush () const |
| Gets the brush for which Kanzi created this brush renderer.
|
|
TextureSharedPtr | getContentTexture () const |
| Gets the content texture used by the brush renderer.
|
|
MaterialSharedPtr | getMaterial () const |
| Gets the currently set material for the renderer.
|
|
Node * | getNode () const |
| Gets the attached node.
|
|
bool | getOpaquenessHint () const |
| Gets the opaqueness hint value.
|
|
unsigned int | getPropertyChangeCounter () const |
| Gets the brush property change counter.
|
|
RenderMode | getRenderMode () const |
| Gets the currently selected render mode.
|
|
float | getRenderOpacity () const |
| Gets the render opacity.
|
|
GlRenderState & | getRenderState () |
| Gets the internal render state.
|
|
void | invalidateRenderValues () |
| Invalidates all render values.
|
|
bool | isOpaque () const |
| Indicates whether the rendered brush is opaque.
|
|
bool | isRenderable () const |
| Indicates whether a brush is in a renderable state.
|
|
void | restoreResources () |
| Restores resources after sleep.
|
|
void | setBlendModeOverride (optional< int > blendMode) |
| Sets the blend mode override value.
|
|
void | setContentTexture (TextureSharedPtr texture) |
| Sets the content texture for the brush renderer.
|
|
void | setOpaquenessHint (bool value) |
| Sets the opaqueness hint.
|
|
void | setRenderOpacity (float opacity) |
| Sets the render opacity to use for the next attach.
|
|
void | updateRender () |
| Prepares a brush for rendering.
|
|
virtual | ~BrushRenderer ()=default |
| Destructor.
|
|