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

#include <SsaoBlurPass.hpp>

Public Member Functions

C3D_API SsaoBlurPass (crg::FramePassGroup &graph, RenderDevice const &device, ProgressBar *progress, crg::FramePass const &previousPass, castor::String const &prefix, VkExtent2D const &size, SsaoConfig const &config, SsaoConfigUbo &ssaoConfigUbo, CameraUbo const &cameraUbo, castor::Point2i const &axis, Texture const &input, Texture const &bentInput, Texture const &normals, uint32_t const &passIndex)
 Constructor.
 
C3D_API ~SsaoBlurPass () noexcept
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise.
 
C3D_API void accept (bool horizontal, 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

◆ SsaoBlurPass()

C3D_API castor3d::SsaoBlurPass::SsaoBlurPass ( crg::FramePassGroup & graph,
RenderDevice const & device,
ProgressBar * progress,
crg::FramePass const & previousPass,
castor::String const & prefix,
VkExtent2D const & size,
SsaoConfig const & config,
SsaoConfigUbo & ssaoConfigUbo,
CameraUbo const & cameraUbo,
castor::Point2i const & axis,
Texture const & input,
Texture const & bentInput,
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]prefixThe pass name's prefix.
[in]sizeThe render area dimensions.
[in]configThe SSAO configuration.
[in]ssaoConfigUboThe SSAO configuration UBO.
[in]cameraUboThe camera configuration UBO.
[in]axisThe axis to which the blur applies ({0, 1} for vertical, {1, 0} for horizontal).
[in]inputThe texture to blur.
[in]bentInputThe bent normals texture to blur.
[in]normalsThe normals buffer.
[in]passIndexThe frame pass index.

◆ ~SsaoBlurPass()

C3D_API castor3d::SsaoBlurPass::~SsaoBlurPass ( )
noexcept

Member Function Documentation

◆ accept()

C3D_API void castor3d::SsaoBlurPass::accept ( bool horizontal,
SsaoConfig & config,
ConfigurationVisitorBase & visitor )

Accepts a visitor.

Parameters
[in]horizontalTells if the blur is horizontal.
[in]configThe SSAO config.
[in]visitorThe visitor.

◆ countInitialisationSteps()

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

name Getters.

◆ getBentResult()

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

◆ getLastPass()

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

◆ getResult()

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

◆ update()

C3D_API void castor3d::SsaoBlurPass::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: