Castor3D 0.16.0
Multiplatform 3D engine
|
#include <SsaoPass.hpp>
Public Member Functions | |
C3D_API | SsaoPass (crg::FramePassGroup &graph, RenderDevice const &device, ProgressBar *progress, crg::FramePassArray const &previousPasses, castor::Size const &size, SsaoConfig &ssaoConfig, Texture const &depthObj, Texture const &normal, CameraUbo const &cameraUbo) |
Constructor. | |
C3D_API void | update (CpuUpdater &updater) |
Updates the render pass, CPU wise. | |
C3D_API void | accept (ConfigurationVisitorBase &visitor) |
Visitor acceptance function. | |
C3D_API Texture const & | getResult () const noexcept |
C3D_API Texture const & | getBentNormals () const noexcept |
SsaoConfig const & | getConfig () const noexcept |
crg::FramePass const & | getLastPass () const noexcept |
static uint32_t | countInitialisationSteps () noexcept |
C3D_API castor3d::SsaoPass::SsaoPass | ( | crg::FramePassGroup & | graph, |
RenderDevice const & | device, | ||
ProgressBar * | progress, | ||
crg::FramePassArray const & | previousPasses, | ||
castor::Size const & | size, | ||
SsaoConfig & | ssaoConfig, | ||
Texture const & | depthObj, | ||
Texture const & | normal, | ||
CameraUbo const & | cameraUbo ) |
Constructor.
[in] | graph | The render graph. |
[in] | device | The GPU device. |
[in] | progress | The progress bar. |
[in] | previousPasses | The previous frame passes. |
[in] | size | The render area dimensions. |
[in] | ssaoConfig | The SSAO configuration. |
[in] | depthObj | The depth buffer. |
[in] | normal | The normals buffer. |
[in] | cameraUbo | The camera configuration UBO. |
C3D_API void castor3d::SsaoPass::accept | ( | ConfigurationVisitorBase & | visitor | ) |
Visitor acceptance function.
visitor | The ... visitor. |
|
staticnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
C3D_API void castor3d::SsaoPass::update | ( | CpuUpdater & | updater | ) |
Updates the render pass, CPU wise.
[in,out] | updater | The update data. |