#include <RenderTarget.hpp>
Definition at line 38 of file RenderTarget.hpp.
Buffer clear bits
| Enumerator |
|---|
| ColorBit |
Color bit.
|
| DepthBit |
Depth bit.
|
| StencilBit |
Stencil bit.
|
| AllBit |
Clear all.
|
Definition at line 48 of file RenderTarget.hpp.
| jop::RenderTarget::RenderTarget |
( |
| ) |
|
| virtual jop::RenderTarget::~RenderTarget |
( |
| ) |
|
|
pure virtual |
| virtual bool jop::RenderTarget::bind |
( |
| ) |
const |
|
pure virtual |
| void jop::RenderTarget::clear |
( |
const unsigned int |
bits | ) |
|
Clear the selected buffers.
- Parameters
-
| bits | Bit field describing the buffer combination to clear |
| Color jop::RenderTarget::getClearColor |
( |
| ) |
const |
Get the clear color.
- Returns
- The clear color
| float jop::RenderTarget::getClearDepth |
( |
| ) |
const |
Get the clear depth value.
- Returns
- The clear depth value
| int jop::RenderTarget::getClearStencil |
( |
| ) |
const |
Get the clear stencil value.
- Returns
- The clear stencil value
| virtual glm::uvec2 jop::RenderTarget::getSize |
( |
| ) |
const |
|
pure virtual |
Set the clear color.
- Parameters
-
| color | The new clear color value |
- Returns
- Reference to self
| RenderTarget& jop::RenderTarget::setClearDepth |
( |
const float |
depth | ) |
|
Set the clear depth.
- Parameters
-
| depth | The new clear depth value |
- Returns
- Reference to self
| RenderTarget& jop::RenderTarget::setClearStencil |
( |
const int |
stencil | ) |
|
Set the clear stencil.
- Parameters
-
| stencil | The new clear stencil value |
- Returns
- Reference to self
| std::recursive_mutex jop::RenderTarget::m_mutex |
|
mutableprotected |
The documentation for this class was generated from the following file: