#include <Voxelizer.hpp>
|
C3D_API | Voxelizer (crg::ResourcesCache &resources, RenderDevice const &device, ProgressBar *progress, castor::String const &prefix, Scene &scene, Camera &camera, VoxelizerUbo &voxelizerUbo, VctConfig const &voxelConfig, crg::FramePassArray const &previousPasses) |
| Constructor.
|
|
C3D_API | ~Voxelizer () noexcept |
|
C3D_API void | update (CpuUpdater &updater) |
| Updates the render pass, CPU wise.
|
|
C3D_API void | accept (RenderTechniqueVisitor &visitor) |
| Visitor acceptance function.
|
|
C3D_API crg::SemaphoreWaitArray | render (crg::SemaphoreWaitArray const &toWait, ashes::Queue const &queue) |
| Renders the voxels.
|
|
Texture const & | getFirstBounce () const noexcept |
|
Texture const & | getSecondaryBounce () const noexcept |
|
crg::FrameGraph const & | getGraph () const noexcept |
|
static uint32_t | countInitialisationSteps () noexcept |
|
◆ Voxelizer()
Constructor.
- Parameters
-
[in] | resources | 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] | voxelizerUbo | The voxelizer configuration UBO. |
[in] | voxelConfig | The voxelizer configuration. |
[in] | previousPasses | The passes on which the voxelization pass depent. |
◆ ~Voxelizer()
C3D_API castor3d::Voxelizer::~Voxelizer |
( |
| ) |
|
|
noexcept |
◆ accept()
Visitor acceptance function.
- Parameters
-
◆ countInitialisationSteps()
static uint32_t castor3d::Voxelizer::countInitialisationSteps |
( |
| ) |
|
|
staticnoexcept |
◆ getFirstBounce()
Texture const & castor3d::Voxelizer::getFirstBounce |
( |
| ) |
const |
|
inlinenoexcept |
◆ getGraph()
crg::FrameGraph const & castor3d::Voxelizer::getGraph |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSecondaryBounce()
Texture const & castor3d::Voxelizer::getSecondaryBounce |
( |
| ) |
const |
|
inlinenoexcept |
◆ 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()
Updates the render pass, CPU wise.
- Parameters
-
[in,out] | updater | The update data. |
The documentation for this class was generated from the following file:
- Castor3D/Render/GlobalIllumination/VoxelConeTracing/Voxelizer.hpp