#include <GaussianBlur.hpp>
|
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 |
|
Engine * | getOwner () const |
|
|
| OwnedBy (Engine &owner) |
| Constructor.
|
|
◆ 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] | graph | The render graph. |
[in] | previousPass | The previous frame pass. |
[in] | device | The GPU device. |
[in] | prefix | The pass name's prefix. |
[in] | views | The source and destination textures. |
[in] | intermediateView | The view receiving the intermediate blur. |
[in] | kernelSize | The kernel coefficients count. |
[in] | isEnabled | The 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] | graph | The render graph. |
[in] | previousPass | The previous frame pass. |
[in] | device | The GPU device. |
[in] | prefix | The pass name's prefix. |
[in] | views | The source and destination textures. |
[in] | kernelSize | The kernel coefficients count. |
[in] | isEnabled | The 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] | graph | The render graph. |
[in] | previousPass | The previous frame pass. |
[in] | device | The GPU device. |
[in] | prefix | The pass name's prefix. |
[in] | view | The source and destination texture. |
[in] | kernelSize | The kernel coefficients count. |
[in] | isEnabled | The 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] | graph | The render graph. |
[in] | previousPass | The previous frame pass. |
[in] | device | The GPU device. |
[in] | prefix | The pass name's prefix. |
[in] | view | The source and destination texture. |
[in] | intermediateView | The view receiving the intermediate blur. |
[in] | kernelSize | The kernel coefficients count. |
[in] | isEnabled | The enabled status retrieval callback. |
◆ accept()
Visitor acceptance function.
- Parameters
-
◆ getLastPass()
crg::FramePass const & castor3d::GaussianBlur::getLastPass |
( |
| ) |
const |
|
inlinenoexcept |
◆ Coefficients
◆ CoefficientsCount
◆ Config
◆ MaxCoefficients
C3D_API constexpr uint32_t castor3d::GaussianBlur::MaxCoefficients { 60u } |
|
staticconstexpr |
◆ TextureSize
The documentation for this class was generated from the following file: