Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::SsaoPass Class Reference

#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
 

Constructor & Destructor Documentation

◆ SsaoPass()

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.

Parameters
[in]graphThe render graph.
[in]deviceThe GPU device.
[in]progressThe progress bar.
[in]previousPassesThe previous frame passes.
[in]sizeThe render area dimensions.
[in]ssaoConfigThe SSAO configuration.
[in]depthObjThe depth buffer.
[in]normalThe normals buffer.
[in]cameraUboThe camera configuration UBO.

Member Function Documentation

◆ accept()

C3D_API void castor3d::SsaoPass::accept ( ConfigurationVisitorBase & visitor)

Visitor acceptance function.

Parameters
visitorThe ... visitor.

◆ countInitialisationSteps()

static uint32_t castor3d::SsaoPass::countInitialisationSteps ( )
staticnoexcept

◆ getBentNormals()

C3D_API Texture const & castor3d::SsaoPass::getBentNormals ( ) const
noexcept

◆ getConfig()

SsaoConfig const & castor3d::SsaoPass::getConfig ( ) const
inlinenoexcept

◆ getLastPass()

crg::FramePass const & castor3d::SsaoPass::getLastPass ( ) const
inlinenoexcept

◆ getResult()

C3D_API Texture const & castor3d::SsaoPass::getResult ( ) const
noexcept

name Getters.

◆ update()

C3D_API void castor3d::SsaoPass::update ( CpuUpdater & updater)

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

The documentation for this class was generated from the following file: