Depth brush clear depth buffer with given depth.
More...
#include <CameraBackgroundBrush.h>
Inherits CameraBackgroundBrush.
Inherited by CameraBackgroundColorBrush.
|
| BrushType | getBrushType () const override |
| | Get brush type.
|
|
void | drawBackground (const SceneRenderState &state) override |
| | Draw background.
|
| void | setDepth (float depth) |
| | Set depth.
|
|
void | drawBackground (Camera *camera) |
| | draw the background
|
| void | retain () |
| | Retains the ownership.
|
| void | release () |
| | Releases the ownership immediately.
|
| Object * | autorelease () |
| | Releases the ownership sometime soon automatically.
|
| unsigned int | getReferenceCount () const |
| | Returns the Object's current reference count.
|
| uint64_t | getObjectID () const noexcept |
| | Returns the process-local diagnostic identifier assigned at construction.
|
| virtual | ~Object () |
| | Destructor.
|
Depth brush clear depth buffer with given depth.
◆ create()
| CameraBackgroundDepthBrush * create |
( |
float | depth | ) |
|
|
static |
Create a depth brush.
- Parameters
-
| depth | Depth used to clear the depth buffer |
- Returns
- Created brush
◆ getBrushType()
◆ setDepth()
| void setDepth |
( |
float | depth | ) |
|
|
inline |
Set depth.
- Parameters
-
| depth | Depth used to clear depth buffer |
The documentation for this class was generated from the following file: