#include <DeferredRendering.hpp>
|
C3D_API | DeferredRendering (crg::FramePassGroup &graph, crg::FramePass const &opaquePass, RenderDevice const &device, ProgressBar *progress, Texture const &depth, OpaquePassResult const &opaquePassResult, Texture const &resultTexture, ShadowMapResult const &smDirectionalResult, ShadowMapResult const &smPointResult, ShadowMapResult const &smSpotResult, LightVolumePassResult const &lpvResult, LightVolumePassResultArray const &llpvResult, Texture const &vctFirstBounce, Texture const &vctSecondaryBounce, Texture const &ssao, castor::Size const &size, Scene &scene, SceneUbo const &sceneUbo, HdrConfigUbo const &hdrConfigUbo, GpInfoUbo const &gpInfoUbo, LpvGridConfigUbo const &lpvConfigUbo, LayeredLpvGridConfigUbo const &llpvConfigUbo, VoxelizerUbo const &vctConfigUbo, SsaoConfig &ssaoConfig) |
| Initialises deferred rendering related stuff. More...
|
|
C3D_API void | update (CpuUpdater &updater) |
| Updates the render pass, CPU wise. More...
|
|
C3D_API void | accept (RenderTechniqueVisitor &visitor) |
| Visitor acceptance function. More...
|
|
C3D_API crg::ImageViewId const & | getLightDepthImgView () const |
|
C3D_API Texture const & | getLightDiffuse () |
|
crg::FramePass const & | getLastPass () const |
|
◆ DeferredRendering()
C3D_API castor3d::DeferredRendering::DeferredRendering |
( |
crg::FramePassGroup & |
graph, |
|
|
crg::FramePass const & |
opaquePass, |
|
|
RenderDevice const & |
device, |
|
|
ProgressBar * |
progress, |
|
|
Texture const & |
depth, |
|
|
OpaquePassResult const & |
opaquePassResult, |
|
|
Texture const & |
resultTexture, |
|
|
ShadowMapResult const & |
smDirectionalResult, |
|
|
ShadowMapResult const & |
smPointResult, |
|
|
ShadowMapResult const & |
smSpotResult, |
|
|
LightVolumePassResult const & |
lpvResult, |
|
|
LightVolumePassResultArray const & |
llpvResult, |
|
|
Texture const & |
vctFirstBounce, |
|
|
Texture const & |
vctSecondaryBounce, |
|
|
Texture const & |
ssao, |
|
|
castor::Size const & |
size, |
|
|
Scene & |
scene, |
|
|
SceneUbo const & |
sceneUbo, |
|
|
HdrConfigUbo const & |
hdrConfigUbo, |
|
|
GpInfoUbo const & |
gpInfoUbo, |
|
|
LpvGridConfigUbo const & |
lpvConfigUbo, |
|
|
LayeredLpvGridConfigUbo const & |
llpvConfigUbo, |
|
|
VoxelizerUbo const & |
vctConfigUbo, |
|
|
SsaoConfig & |
ssaoConfig |
|
) |
| |
Initialises deferred rendering related stuff.
- Parameters
-
[in] | graph | The graph passes group. |
[in] | opaquePass | The opaque nodes render pass. |
[in] | device | The GPU device. |
[in] | progress | The progress status. |
[in] | depth | The render target depth texture. |
[in] | opaquePassResult | The geometry pass buffers. |
[in] | resultTexture | The render technique texture. |
[in] | smDirectionalResult | The directional lights shadow map. |
[in] | smPointResult | The point lights shadow map. |
[in] | smSpotResult | The spot lights shadow map. |
[in] | lpvResult | The LPV result. |
[in] | llpvResult | The Layered LPV result. |
[in] | vctFirstBounce | The VCT first bounce result. |
[in] | vctSecondaryBounce | The VCT secondary bounce result. |
[in] | ssao | The SSAO result. |
[in] | size | The render dimensions. |
[in] | scene | The rendered scene. |
[in] | sceneUbo | The scene configuration UBO. |
[in] | hdrConfigUbo | The HDR configuration UBO. |
[in] | gpInfoUbo | The GBuffer configuration UBO. |
[in] | lpvConfigUbo | The LPV configuration UBO. |
[in] | llpvConfigUbo | The Layered LPV configuration UBO. |
[in] | vctConfigUbo | The VCT configuration UBO. |
[in] | ssaoConfig | The SSAO configuration. |
◆ accept()
Visitor acceptance function.
- Parameters
-
◆ countInitialisationSteps()
static uint32_t castor3d::DeferredRendering::countInitialisationSteps |
( |
| ) |
|
|
inlinestatic |
◆ getLastPass()
crg::FramePass const & castor3d::DeferredRendering::getLastPass |
( |
| ) |
const |
|
inline |
◆ getLightDepthImgView()
C3D_API crg::ImageViewId const & castor3d::DeferredRendering::getLightDepthImgView |
( |
| ) |
const |
◆ getLightDiffuse()
C3D_API Texture const & castor3d::DeferredRendering::getLightDiffuse |
( |
| ) |
|
◆ 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: