Castor3D 0.12.0
Multiplatform 3D engine
Classes | Public Member Functions | Static Public Attributes | 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, GpInfoUbo const &gpInfoUbo, Texture const &linearisedDepthBuffer, Texture const &normals)
 Constructor. More...
 
C3D_API ~SsaoRawAOPass ()
 
C3D_API void accept (SsaoConfig &config, PipelineVisitorBase &visitor)
 Accepts a visitor. More...
 
Texture const & getResult () const
 
Texture const & getBentResult () const
 
crg::FramePass const & getLastPass () const
 

Static Public Attributes

static VkFormat constexpr ResultFormat = VK_FORMAT_R32G32B32A32_SFLOAT
 

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,
GpInfoUbo const &  gpInfoUbo,
Texture const &  linearisedDepthBuffer,
Texture const &  normals 
)

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]gpInfoUboThe GBuffer configuration UBO.
[in]linearisedDepthBufferThe linearised depth buffer.
[in]normalsThe normals buffer.

◆ ~SsaoRawAOPass()

C3D_API castor3d::SsaoRawAOPass::~SsaoRawAOPass ( )

Member Function Documentation

◆ accept()

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

Accepts a visitor.

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

◆ getBentResult()

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

◆ getLastPass()

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

◆ getResult()

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

name Getters.

Member Data Documentation

◆ ResultFormat

VkFormat constexpr castor3d::SsaoRawAOPass::ResultFormat = VK_FORMAT_R32G32B32A32_SFLOAT
staticconstexpr

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