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

#include <SsaoRawAOPass.hpp>

Public Member Functions

C3D_API SsaoRawAOPass (crg::FramePassGroup &graph, RenderDevice const &device, ProgressBar *progress, crg::FramePass const &previousPass, VkExtent2D const &size, SsaoConfig const &config, SsaoConfigUbo &ssaoConfigUbo, CameraUbo const &cameraUbo, crg::ImageViewIdArray const &linearisedDepthBuffer, Texture const &normals, uint32_t const &passIndex)
 Constructor.
 
C3D_API ~SsaoRawAOPass () noexcept
 
C3D_API void accept (SsaoConfig &config, ConfigurationVisitorBase &visitor)
 Accepts a visitor.
 
Texture const & getResult () const noexcept
 
Texture const & getBentResult () const noexcept
 
crg::FramePass const & getLastPass () const noexcept
 
static uint32_t countInitialisationSteps () noexcept
 

Constructor & Destructor Documentation

◆ SsaoRawAOPass()

C3D_API castor3d::SsaoRawAOPass::SsaoRawAOPass ( crg::FramePassGroup & graph,
RenderDevice const & device,
ProgressBar * progress,
crg::FramePass const & previousPass,
VkExtent2D const & size,
SsaoConfig const & config,
SsaoConfigUbo & ssaoConfigUbo,
CameraUbo const & cameraUbo,
crg::ImageViewIdArray const & linearisedDepthBuffer,
Texture const & normals,
uint32_t const & passIndex )

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]configThe SSAO configuration.
[in]ssaoConfigUboThe SSAO configuration UBO.
[in]cameraUboThe camera configuration UBO.
[in]linearisedDepthBufferThe linearised depth buffer.
[in]normalsThe normals buffer.
[in]passIndexThe frame pass index.

◆ ~SsaoRawAOPass()

C3D_API castor3d::SsaoRawAOPass::~SsaoRawAOPass ( )
noexcept

Member Function Documentation

◆ accept()

C3D_API void castor3d::SsaoRawAOPass::accept ( SsaoConfig & config,
ConfigurationVisitorBase & visitor )

Accepts a visitor.

Parameters
[in]configThe SSAO config.
[in]visitorThe visitor.

◆ countInitialisationSteps()

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

name Getters.

◆ getBentResult()

Texture const & castor3d::SsaoRawAOPass::getBentResult ( ) const
inlinenoexcept

◆ getLastPass()

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

◆ getResult()

Texture const & castor3d::SsaoRawAOPass::getResult ( ) const
inlinenoexcept

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