Castor3D 0.12.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::FrameGraph &graph, RenderDevice const &device, ProgressBar *progress, crg::FramePass const &previousPass, castor::Size const &size, SsaoConfig &ssaoConfig, Texture const &depth, Texture const &normal, GpInfoUbo const &gpInfoUbo)
 Constructor. More...
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise. More...
 
C3D_API void accept (PipelineVisitorBase &visitor)
 Visitor acceptance function. More...
 
C3D_API Texture const & getResult () const
 
C3D_API Texture const & getBentNormals () const
 
SsaoConfig const & getConfig () const
 
crg::FramePass const & getLastPass () const
 
static uint32_t countInitialisationSteps ()
 

Constructor & Destructor Documentation

◆ SsaoPass()

C3D_API castor3d::SsaoPass::SsaoPass ( crg::FrameGraph &  graph,
RenderDevice const &  device,
ProgressBar progress,
crg::FramePass const &  previousPass,
castor::Size const &  size,
SsaoConfig ssaoConfig,
Texture const &  depth,
Texture const &  normal,
GpInfoUbo const &  gpInfoUbo 
)

Constructor.

Parameters
[in]graphThe render graph.
[in]deviceThe GPU device.
[in]progressThe progress bar.
[in]previousPassThe previous frame pass.
[in]sizeThe render area dimensions.
[in]ssaoConfigThe SSAO configuration.
[in]depthThe depth buffer.
[in]normalThe normals buffer.
[in]gpInfoUboThe GBuffer configuration UBO.

Member Function Documentation

◆ accept()

C3D_API void castor3d::SsaoPass::accept ( PipelineVisitorBase visitor)

Visitor acceptance function.

Parameters
visitorThe ... visitor.

◆ countInitialisationSteps()

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

◆ getBentNormals()

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

◆ getConfig()

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

◆ getLastPass()

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

◆ getResult()

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

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: