#include <SsaoBlurPass.hpp>
|
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 |
|
◆ 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] | graph | The render graph. |
[in] | device | The GPU device. |
[in] | progress | The progress bar. |
[in] | previousPass | The previous frame pass. |
[in] | prefix | The pass name's prefix. |
[in] | size | The render area dimensions. |
[in] | config | The SSAO configuration. |
[in] | ssaoConfigUbo | The SSAO configuration UBO. |
[in] | cameraUbo | The camera configuration UBO. |
[in] | axis | The axis to which the blur applies ({0, 1} for vertical, {1, 0} for horizontal). |
[in] | input | The texture to blur. |
[in] | bentInput | The bent normals texture to blur. |
[in] | normals | The normals buffer. |
[in] | passIndex | The frame pass index. |
◆ ~SsaoBlurPass()
C3D_API castor3d::SsaoBlurPass::~SsaoBlurPass |
( |
| ) |
|
|
noexcept |
◆ accept()
Accepts a visitor.
- Parameters
-
[in] | horizontal | Tells if the blur is horizontal. |
[in] | config | The SSAO config. |
[in] | visitor | The visitor. |
◆ countInitialisationSteps()
static uint32_t castor3d::SsaoBlurPass::countInitialisationSteps |
( |
| ) |
|
|
staticnoexcept |
◆ 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()
Updates the render pass, CPU wise.
- Parameters
-
[in,out] | updater | The update data. |
The documentation for this class was generated from the following file: