#include <Voxelizer.hpp>
|
C3D_API | Voxelizer (crg::ResourceHandler &handler, RenderDevice const &device, ProgressBar *progress, castor::String const &prefix, Scene &scene, Camera &camera, MatrixUbo &matrixUbo, VoxelizerUbo &voxelizerUbo, VoxelSceneData const &voxelConfig) |
| Constructor. More...
|
|
C3D_API | ~Voxelizer () |
|
C3D_API void | update (CpuUpdater &updater) |
| Updates the render pass, CPU wise. More...
|
|
C3D_API void | update (GpuUpdater &updater) |
| Updates the render pass, GPU wise. More...
|
|
C3D_API void | accept (RenderTechniqueVisitor &visitor) |
| Visitor acceptance function. More...
|
|
C3D_API crg::SemaphoreWaitArray | render (crg::SemaphoreWaitArray const &toWait, ashes::Queue const &queue) |
| Renders the voxels. More...
|
|
Texture const & | getFirstBounce () const |
|
Texture const & | getSecondaryBounce () const |
|
crg::FrameGraph const & | getGraph () const |
|
static uint32_t | countInitialisationSteps () |
|
◆ Voxelizer()
Constructor.
- Parameters
-
[in] | handler | The render graph resources handler. |
[in] | device | The GPU device. |
[in] | progress | The optional progress bar. |
[in] | prefix | The pass name prefix. |
[in] | scene | The rendered scene. |
[in] | camera | The camera viewing the scene. |
[in] | matrixUbo | The scene matrices UBO. |
[in] | voxelizerUbo | The voxelizer configuration UBO. |
[in] | voxelConfig | The voxelizer configuration. |
◆ ~Voxelizer()
C3D_API castor3d::Voxelizer::~Voxelizer |
( |
| ) |
|
◆ accept()
Visitor acceptance function.
- Parameters
-
◆ countInitialisationSteps()
static uint32_t castor3d::Voxelizer::countInitialisationSteps |
( |
| ) |
|
|
inlinestatic |
◆ getFirstBounce()
Texture const & castor3d::Voxelizer::getFirstBounce |
( |
| ) |
const |
|
inline |
◆ getGraph()
crg::FrameGraph const & castor3d::Voxelizer::getGraph |
( |
| ) |
const |
|
inline |
◆ getSecondaryBounce()
Texture const & castor3d::Voxelizer::getSecondaryBounce |
( |
| ) |
const |
|
inline |
◆ render()
C3D_API crg::SemaphoreWaitArray castor3d::Voxelizer::render |
( |
crg::SemaphoreWaitArray const & |
toWait, |
|
|
ashes::Queue const & |
queue |
|
) |
| |
Renders the voxels.
- Parameters
-
[in] | toWait | The semaphores to wait. |
[in] | queue | The queue receiving the render commands. |
- Returns
- The semaphores signaled by this render.
◆ 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. |
The documentation for this class was generated from the following file: