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

#include <TransparentRendering.hpp>

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

Public Member Functions

C3D_API TransparentRendering (RenderTechnique &parent, RenderDevice const &device, OpaqueRendering const &previous, crg::FramePassArray const &previousPasses, ProgressBar *progress, bool weightedBlended)
 Constructor.
 
C3D_API ~TransparentRendering () noexcept
 Destructor.
 
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)
 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
 
- 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.
 

Constructor & Destructor Documentation

◆ TransparentRendering()

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

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.
[in]weightedBlendedtrue to enable weighted blended rendering.

◆ ~TransparentRendering()

C3D_API castor3d::TransparentRendering::~TransparentRendering ( )
noexcept

Destructor.

Member Function Documentation

◆ accept()

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

Visitor acceptance function.

Parameters
visitorThe ... visitor.

◆ countInitialisationSteps()

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

◆ getEngine()

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

name Getters.

◆ getLastPass()

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

◆ listIntermediates()

C3D_API void castor3d::TransparentRendering::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::TransparentRendering::update ( CpuUpdater & updater)

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

◆ update() [2/2]

C3D_API void castor3d::TransparentRendering::update ( GpuUpdater & updater)

Updates the render pass, GPU wise.

Parameters
[in,out]updaterThe update data.

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