Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | Static Public Attributes | List of all members
castor3d::LineariseDepthPass Class Reference

#include <LineariseDepthPass.hpp>

Public Member Functions

C3D_API LineariseDepthPass (crg::FramePassGroup &graph, crg::FramePass const &previousPass, RenderDevice const &device, ProgressBar *progress, castor::String const &prefix, SsaoConfig const &ssaoConfig, VkExtent2D const &size, crg::ImageViewId const &depthBuffer)
 Constructor. More...
 
C3D_API ~LineariseDepthPass ()
 Destructor. More...
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise. More...
 
C3D_API void accept (PipelineVisitorBase &visitor)
 Visitor acceptance function. More...
 
Texture const & getResult () const
 
crg::FramePass const & getLastPass () const
 

Static Public Attributes

static constexpr uint32_t MaxMipLevel = 5u
 

Constructor & Destructor Documentation

◆ LineariseDepthPass()

C3D_API castor3d::LineariseDepthPass::LineariseDepthPass ( crg::FramePassGroup &  graph,
crg::FramePass const &  previousPass,
RenderDevice const &  device,
ProgressBar progress,
castor::String const &  prefix,
SsaoConfig const &  ssaoConfig,
VkExtent2D const &  size,
crg::ImageViewId const &  depthBuffer 
)

Constructor.

Parameters
[in]graphThe render graph.
[in]previousPassThe previous frame pass.
[in]deviceThe GPU device.
[in]progressThe progress bar.
[in]prefixThe pass name's prefix.
[in]ssaoConfigThe SSAO configuration.
[in]sizeThe render area dimensions.
[in]depthBufferThe non linearised depth buffer.

◆ ~LineariseDepthPass()

C3D_API castor3d::LineariseDepthPass::~LineariseDepthPass ( )

Destructor.

Member Function Documentation

◆ accept()

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

Visitor acceptance function.

Parameters
visitorThe ... visitor.

◆ getLastPass()

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

◆ getResult()

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

name Getters.

◆ update()

C3D_API void castor3d::LineariseDepthPass::update ( CpuUpdater updater)

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

Member Data Documentation

◆ MaxMipLevel

constexpr uint32_t castor3d::LineariseDepthPass::MaxMipLevel = 5u
staticconstexpr

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