Castor3D 0.16.0
Multiplatform 3D engine
Classes | Public Member Functions | Static Public Attributes | List of all members
castor3d::GaussianBlur Class Reference

#include <GaussianBlur.hpp>

Inheritance diagram for castor3d::GaussianBlur:
Inheritance graph
[legend]
Collaboration diagram for castor3d::GaussianBlur:
Collaboration graph
[legend]

Classes

struct  Configuration
 

Public Member Functions

C3D_API GaussianBlur (crg::FramePassGroup &graph, crg::FramePass const &previousPass, RenderDevice const &device, castor::String const &prefix, crg::ImageViewIdArray const &views, crg::ImageViewId const &intermediateView, uint32_t kernelSize, crg::RunnablePass::IsEnabledCallback const &isEnabled=crg::RunnablePass::IsEnabledCallback([](){ return true;}))
 Constructor.
 
C3D_API GaussianBlur (crg::FramePassGroup &graph, crg::FramePass const &previousPass, RenderDevice const &device, castor::String const &prefix, crg::ImageViewIdArray const &views, uint32_t kernelSize, crg::RunnablePass::IsEnabledCallback isEnabled=crg::RunnablePass::IsEnabledCallback([]() { return true;}))
 Constructor.
 
C3D_API GaussianBlur (crg::FramePassGroup &graph, crg::FramePass const &previousPass, RenderDevice const &device, castor::String const &prefix, crg::ImageViewId const &view, uint32_t kernelSize, crg::RunnablePass::IsEnabledCallback isEnabled=crg::RunnablePass::IsEnabledCallback([]() { return true;}))
 Constructor.
 
C3D_API GaussianBlur (crg::FramePassGroup &graph, crg::FramePass const &previousPass, RenderDevice const &device, castor::String const &prefix, crg::ImageViewId const &view, crg::ImageViewId const &intermediateView, uint32_t kernelSize, crg::RunnablePass::IsEnabledCallback isEnabled=crg::RunnablePass::IsEnabledCallback([]() { return true;}))
 Constructor.
 
C3D_API void accept (ConfigurationVisitorBase &visitor)
 Visitor acceptance function.
 
crg::FramePass const & getLastPass () const noexcept
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Static Public Attributes

static C3D_API castor::MbString const Config
 
static C3D_API castor::MbString const Coefficients
 
static C3D_API castor::MbString const CoefficientsCount
 
static C3D_API castor::MbString const TextureSize
 
static C3D_API constexpr uint32_t MaxCoefficients { 60u }
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 

Constructor & Destructor Documentation

◆ GaussianBlur() [1/4]

C3D_API castor3d::GaussianBlur::GaussianBlur ( crg::FramePassGroup & graph,
crg::FramePass const & previousPass,
RenderDevice const & device,
castor::String const & prefix,
crg::ImageViewIdArray const & views,
crg::ImageViewId const & intermediateView,
uint32_t kernelSize,
crg::RunnablePass::IsEnabledCallback const & isEnabled = crg::RunnablePass::IsEnabledCallback([](){ return true;}) )

Constructor.

Parameters
[in]graphThe render graph.
[in]previousPassThe previous frame pass.
[in]deviceThe GPU device.
[in]prefixThe pass name's prefix.
[in]viewsThe source and destination textures.
[in]intermediateViewThe view receiving the intermediate blur.
[in]kernelSizeThe kernel coefficients count.
[in]isEnabledThe enabled status retrieval callback.

◆ GaussianBlur() [2/4]

C3D_API castor3d::GaussianBlur::GaussianBlur ( crg::FramePassGroup & graph,
crg::FramePass const & previousPass,
RenderDevice const & device,
castor::String const & prefix,
crg::ImageViewIdArray const & views,
uint32_t kernelSize,
crg::RunnablePass::IsEnabledCallback isEnabled = crg::RunnablePass::IsEnabledCallback([]() { return true;}) )

Constructor.

Parameters
[in]graphThe render graph.
[in]previousPassThe previous frame pass.
[in]deviceThe GPU device.
[in]prefixThe pass name's prefix.
[in]viewsThe source and destination textures.
[in]kernelSizeThe kernel coefficients count.
[in]isEnabledThe enabled status retrieval callback.

◆ GaussianBlur() [3/4]

C3D_API castor3d::GaussianBlur::GaussianBlur ( crg::FramePassGroup & graph,
crg::FramePass const & previousPass,
RenderDevice const & device,
castor::String const & prefix,
crg::ImageViewId const & view,
uint32_t kernelSize,
crg::RunnablePass::IsEnabledCallback isEnabled = crg::RunnablePass::IsEnabledCallback([]() { return true;}) )

Constructor.

Parameters
[in]graphThe render graph.
[in]previousPassThe previous frame pass.
[in]deviceThe GPU device.
[in]prefixThe pass name's prefix.
[in]viewThe source and destination texture.
[in]kernelSizeThe kernel coefficients count.
[in]isEnabledThe enabled status retrieval callback.

◆ GaussianBlur() [4/4]

C3D_API castor3d::GaussianBlur::GaussianBlur ( crg::FramePassGroup & graph,
crg::FramePass const & previousPass,
RenderDevice const & device,
castor::String const & prefix,
crg::ImageViewId const & view,
crg::ImageViewId const & intermediateView,
uint32_t kernelSize,
crg::RunnablePass::IsEnabledCallback isEnabled = crg::RunnablePass::IsEnabledCallback([]() { return true;}) )

Constructor.

Parameters
[in]graphThe render graph.
[in]previousPassThe previous frame pass.
[in]deviceThe GPU device.
[in]prefixThe pass name's prefix.
[in]viewThe source and destination texture.
[in]intermediateViewThe view receiving the intermediate blur.
[in]kernelSizeThe kernel coefficients count.
[in]isEnabledThe enabled status retrieval callback.

Member Function Documentation

◆ accept()

C3D_API void castor3d::GaussianBlur::accept ( ConfigurationVisitorBase & visitor)

Visitor acceptance function.

Parameters
visitorThe ... visitor.

◆ getLastPass()

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

name Getters.

References CU_Require.

Member Data Documentation

◆ Coefficients

C3D_API castor::MbString const castor3d::GaussianBlur::Coefficients
static

◆ CoefficientsCount

C3D_API castor::MbString const castor3d::GaussianBlur::CoefficientsCount
static

◆ Config

C3D_API castor::MbString const castor3d::GaussianBlur::Config
static

◆ MaxCoefficients

C3D_API constexpr uint32_t castor3d::GaussianBlur::MaxCoefficients { 60u }
staticconstexpr

◆ TextureSize

C3D_API castor::MbString const castor3d::GaussianBlur::TextureSize
static

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