#include <OverlayPass.hpp>
◆ OverlayPass()
C3D_API castor3d::OverlayPass::OverlayPass |
( |
crg::FramePass const & |
pass, |
|
|
crg::GraphContext & |
context, |
|
|
crg::RunnableGraph & |
graph, |
|
|
RenderDevice const & |
device, |
|
|
Scene const & |
scene, |
|
|
VkExtent2D const & |
size, |
|
|
Texture const & |
output |
|
) |
| |
Constructor.
- Parameters
-
[in] | pass | The parent frame pass. |
[in] | context | The rendering context. |
[in] | graph | The runnable graph. |
[in] | device | The GPU device. |
[in] | scene | The scene. |
[in] | size | The render area dimensions. |
[in] | output | The result texture. |
◆ 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()
C3D_API void castor3d::OverlayPass::upload |
( |
ashes::CommandBuffer const & |
cb | ) |
|
Uploads overlays GPU buffers to VRAM.
- Parameters
-
[in] | cb | The command buffer on which transfer commands are recorded. |
The documentation for this class was generated from the following file: