#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, GpInfoUbo const &gpInfoUbo, castor::Point2i const &axis, Texture const &input, Texture const &bentInput, Texture const &normals) |
| Constructor. More...
|
|
C3D_API | ~SsaoBlurPass () |
|
C3D_API void | update (CpuUpdater &updater) |
| Updates the render pass, CPU wise. More...
|
|
C3D_API void | accept (bool horizontal, SsaoConfig &config, PipelineVisitorBase &visitor) |
| Accepts a visitor. More...
|
|
|
Texture const & | getResult () const |
|
Texture const & | getBentResult () const |
|
crg::FramePass const & | getLastPass () const |
|
|
static VkFormat constexpr | ResultFormat = VK_FORMAT_R8G8B8A8_UNORM |
|
◆ 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, |
|
|
GpInfoUbo const & |
gpInfoUbo, |
|
|
castor::Point2i const & |
axis, |
|
|
Texture const & |
input, |
|
|
Texture const & |
bentInput, |
|
|
Texture const & |
normals |
|
) |
| |
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] | gpInfoUbo | The GBuffer 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. |
◆ ~SsaoBlurPass()
C3D_API castor3d::SsaoBlurPass::~SsaoBlurPass |
( |
| ) |
|
◆ accept()
Accepts a visitor.
- Parameters
-
[in] | horizontal | Tells if the blur is horizontal. |
[in] | config | The SSAO config. |
[in] | visitor | The visitor. |
◆ getBentResult()
Texture const & castor3d::SsaoBlurPass::getBentResult |
( |
| ) |
const |
|
inline |
◆ getLastPass()
crg::FramePass const & castor3d::SsaoBlurPass::getLastPass |
( |
| ) |
const |
|
inline |
◆ getResult()
Texture const & castor3d::SsaoBlurPass::getResult |
( |
| ) |
const |
|
inline |
◆ update()
Updates the render pass, CPU wise.
- Parameters
-
[in,out] | updater | The update data. |
◆ ResultFormat
VkFormat constexpr castor3d::SsaoBlurPass::ResultFormat = VK_FORMAT_R8G8B8A8_UNORM |
|
staticconstexpr |
The documentation for this class was generated from the following file: