#include <TargetCache.hpp>
|
| OwnedBy (Engine &owner) |
| Constructor.
|
|
◆ RenderTargetCache()
C3D_API castor3d::RenderTargetCache::RenderTargetCache |
( |
Engine & | engine | ) |
|
|
explicit |
◆ add()
Creates a render target of given type.
- Parameters
-
[in] | type | The render target type. |
[in] | size | The render target dimensions. |
[in] | pixelFormat | The render target pixels format. |
- Returns
- The render target
◆ cleanup()
Cleans up the collection.
- Parameters
-
[in] | device | The GPU device. |
◆ clear()
C3D_API void castor3d::RenderTargetCache::clear |
( |
| ) |
|
◆ forEach() [1/2]
template<typename FuncType >
void castor3d::RenderTargetCache::forEach |
( |
FuncType | func | ) |
|
|
inline |
◆ forEach() [2/2]
template<typename FuncType >
void castor3d::RenderTargetCache::forEach |
( |
FuncType | func | ) |
const |
|
inline |
◆ getPostEffectFactory() [1/2]
◆ getPostEffectFactory() [2/2]
PostEffectFactory const & castor3d::RenderTargetCache::getPostEffectFactory |
( |
| ) |
const |
|
inline |
◆ getRenderTargets()
RenderTargetArray const & castor3d::RenderTargetCache::getRenderTargets |
( |
TargetType | type | ) |
|
|
inline |
◆ getToneMappingFactory() [1/2]
◆ getToneMappingFactory() [2/2]
◆ getToneMappingName()
◆ lock()
void castor3d::RenderTargetCache::lock |
( |
| ) |
const |
|
inline |
◆ registerToneMappingName()
Registers tone mapping display name.
◆ remove()
Removes a render target from the render loop.
- Parameters
-
[in] | target | The render target |
◆ render()
C3D_API crg::SemaphoreWaitArray castor3d::RenderTargetCache::render |
( |
RenderDevice const & | device, |
|
|
RenderInfo & | info, |
|
|
ashes::Queue const & | queue, |
|
|
crg::SemaphoreWaitArray | signalsToWait ) |
Renders into the render targets.
- Parameters
-
[in] | device | The GPU device. |
[in,out] | info | Receives the render informations. |
[in] | queue | The queue to which the render commands will be submitted to. |
[in] | signalsToWait | The semaphores and stages to wait for. |
- Returns
- The semaphores and stages that will be signaled.
◆ unlock()
void castor3d::RenderTargetCache::unlock |
( |
| ) |
const |
|
inline |
Unlocks the collection mutex.
◆ update() [1/2]
Updates the render pass, CPU wise.
- Parameters
-
[in,out] | updater | The update data. |
◆ update() [2/2]
Updates the render pass, GPU wise.
- Parameters
-
[in,out] | updater | The update data. |
◆ upload()
Uploads all overlay GPU buffers to VRAM.
- Parameters
-
[in,out] | uploader | Receives the upload requests. |
The documentation for this class was generated from the following file: