Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | Static Public Member Functions | List of all members
castor3d::OpaqueRendering Class Reference

#include <OpaqueRendering.hpp>

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

Public Types

using ShadowMapArray = castor::Vector< ShadowMapUPtr >
 

Public Member Functions

C3D_API OpaqueRendering (RenderTechnique &parent, RenderDevice const &device, PrepassRendering const &previous, crg::FramePassArray const &previousPasses, ProgressBar *progress)
 Constructor.
 
C3D_API void listIntermediates (castor::Vector< IntermediateView > &intermediates)
 Lists the intermediate view used by the whole technique.
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise.
 
C3D_API void update (GpuUpdater &updater) const
 Updates the render pass, GPU wise.
 
C3D_API void accept (RenderTechniqueVisitor &visitor)
 Visitor acceptance function.
 
C3D_API EnginegetEngine () const noexcept
 
C3D_API crg::FramePass const & getLastPass () const noexcept
 
C3D_API Texture const & getSsaoResult () const noexcept
 
C3D_API Texture const & getSssDiffuse () const noexcept
 
C3D_API bool isEnabled () const noexcept
 
ashes::Buffer< uint32_t > const & getMaterialsCounts () const noexcept
 
ashes::Buffer< castor::Point3ui > const & getMaterialsIndirectCounts () const noexcept
 
ashes::Buffer< uint32_t > const & getMaterialsStarts () const noexcept
 
ashes::Buffer< castor::Point2ui > const & getPixelXY () const noexcept
 
- Public Member Functions inherited from castor::OwnedBy< RenderTechnique >
RenderTechnique * getOwner () const
 

Static Public Member Functions

static uint32_t countInitialisationSteps () noexcept
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ShadowMapArray

Constructor & Destructor Documentation

◆ OpaqueRendering()

C3D_API castor3d::OpaqueRendering::OpaqueRendering ( RenderTechnique & parent,
RenderDevice const & device,
PrepassRendering const & previous,
crg::FramePassArray const & previousPasses,
ProgressBar * progress )

Constructor.

Parameters
[in]parentThe parent technique.
[in]deviceThe GPU device.
[in]previousThe prepass renderer.
[in]previousPassesThe passes this pass depends on.
[in]progressThe optional progress bar.

Member Function Documentation

◆ accept()

C3D_API void castor3d::OpaqueRendering::accept ( RenderTechniqueVisitor & visitor)

Visitor acceptance function.

Parameters
visitorThe ... visitor.

◆ countInitialisationSteps()

static uint32_t castor3d::OpaqueRendering::countInitialisationSteps ( )
staticnoexcept
Returns
The number of steps needed for initialisation, to show progression.

◆ getEngine()

C3D_API Engine * castor3d::OpaqueRendering::getEngine ( ) const
noexcept

name Getters.

◆ getLastPass()

C3D_API crg::FramePass const & castor3d::OpaqueRendering::getLastPass ( ) const
noexcept

◆ getMaterialsCounts()

ashes::Buffer< uint32_t > const & castor3d::OpaqueRendering::getMaterialsCounts ( ) const
inlinenoexcept

Referenced by castor3d::RenderTechnique::getMaterialsCounts().

Here is the caller graph for this function:

◆ getMaterialsIndirectCounts()

ashes::Buffer< castor::Point3ui > const & castor3d::OpaqueRendering::getMaterialsIndirectCounts ( ) const
inlinenoexcept

Referenced by castor3d::RenderTechnique::getMaterialsIndirectCounts().

Here is the caller graph for this function:

◆ getMaterialsStarts()

ashes::Buffer< uint32_t > const & castor3d::OpaqueRendering::getMaterialsStarts ( ) const
inlinenoexcept

Referenced by castor3d::RenderTechnique::getMaterialsStarts().

Here is the caller graph for this function:

◆ getPixelXY()

ashes::Buffer< castor::Point2ui > const & castor3d::OpaqueRendering::getPixelXY ( ) const
inlinenoexcept

Referenced by castor3d::RenderTechnique::getPixelXY().

Here is the caller graph for this function:

◆ getSsaoResult()

C3D_API Texture const & castor3d::OpaqueRendering::getSsaoResult ( ) const
noexcept

◆ getSssDiffuse()

C3D_API Texture const & castor3d::OpaqueRendering::getSssDiffuse ( ) const
noexcept

◆ isEnabled()

C3D_API bool castor3d::OpaqueRendering::isEnabled ( ) const
noexcept

◆ listIntermediates()

C3D_API void castor3d::OpaqueRendering::listIntermediates ( castor::Vector< IntermediateView > & intermediates)

Lists the intermediate view used by the whole technique.

Parameters
[out]intermediatesReceives the intermediate views.

◆ update() [1/2]

C3D_API void castor3d::OpaqueRendering::update ( CpuUpdater & updater)

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

◆ update() [2/2]

C3D_API void castor3d::OpaqueRendering::update ( GpuUpdater & updater) const

Updates the render pass, GPU wise.

Parameters
[in,out]updaterThe update data.

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