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

#include <BackgroundRenderer.hpp>

Public Member Functions

C3D_API BackgroundRenderer (crg::FramePassGroup &graph, crg::FramePassArray const &previousPasses, RenderDevice const &device, ProgressBar *progress, SceneBackground &background, HdrConfigUbo const &hdrConfigUbo, SceneUbo const &sceneUbo, crg::ImageViewIdArray const &colour, bool clearColour, bool clearDepth, bool forceVisible, crg::ImageViewIdArray const &depth, crg::ImageViewId const *depthObj)
 
 BackgroundRenderer (crg::FramePassGroup &graph, crg::FramePass const *previousPass, RenderDevice const &device, ProgressBar *progress, SceneBackground &background, HdrConfigUbo const &hdrConfigUbo, SceneUbo const &sceneUbo, crg::ImageViewId const &colour, bool clearColour=true, bool forceVisible=false)
 
 BackgroundRenderer (crg::FramePassGroup &graph, crg::FramePass const *previousPass, RenderDevice const &device, ProgressBar *progress, SceneBackground &background, HdrConfigUbo const &hdrConfigUbo, SceneUbo const &sceneUbo, crg::ImageViewId const &colour, bool clearColour, bool clearDepth, bool forceVisible, crg::ImageViewId const &depth, crg::ImageViewId const *depthObj)
 
 BackgroundRenderer (crg::FramePassGroup &graph, crg::FramePassArray const &previousPasses, RenderDevice const &device, ProgressBar *progress, SceneBackground &background, HdrConfigUbo const &hdrConfigUbo, SceneUbo const &sceneUbo, crg::ImageViewIdArray const &colour, bool clearColour, bool clearDepth, bool forceVisible, crg::ImageViewId const &depth, crg::ImageViewId const *depthObj)
 
C3D_API ~BackgroundRenderer () noexcept
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise.
 
C3D_API void update (GpuUpdater &updater)
 Updates the render pass, GPU wise.
 
crg::FramePass const & getPass () const noexcept
 

Constructor & Destructor Documentation

◆ BackgroundRenderer() [1/4]

C3D_API castor3d::BackgroundRenderer::BackgroundRenderer ( crg::FramePassGroup & graph,
crg::FramePassArray const & previousPasses,
RenderDevice const & device,
ProgressBar * progress,
SceneBackground & background,
HdrConfigUbo const & hdrConfigUbo,
SceneUbo const & sceneUbo,
crg::ImageViewIdArray const & colour,
bool clearColour,
bool clearDepth,
bool forceVisible,
crg::ImageViewIdArray const & depth,
crg::ImageViewId const * depthObj )

◆ BackgroundRenderer() [2/4]

castor3d::BackgroundRenderer::BackgroundRenderer ( crg::FramePassGroup & graph,
crg::FramePass const * previousPass,
RenderDevice const & device,
ProgressBar * progress,
SceneBackground & background,
HdrConfigUbo const & hdrConfigUbo,
SceneUbo const & sceneUbo,
crg::ImageViewId const & colour,
bool clearColour = true,
bool forceVisible = false )
inline

◆ BackgroundRenderer() [3/4]

castor3d::BackgroundRenderer::BackgroundRenderer ( crg::FramePassGroup & graph,
crg::FramePass const * previousPass,
RenderDevice const & device,
ProgressBar * progress,
SceneBackground & background,
HdrConfigUbo const & hdrConfigUbo,
SceneUbo const & sceneUbo,
crg::ImageViewId const & colour,
bool clearColour,
bool clearDepth,
bool forceVisible,
crg::ImageViewId const & depth,
crg::ImageViewId const * depthObj )
inline

◆ BackgroundRenderer() [4/4]

castor3d::BackgroundRenderer::BackgroundRenderer ( crg::FramePassGroup & graph,
crg::FramePassArray const & previousPasses,
RenderDevice const & device,
ProgressBar * progress,
SceneBackground & background,
HdrConfigUbo const & hdrConfigUbo,
SceneUbo const & sceneUbo,
crg::ImageViewIdArray const & colour,
bool clearColour,
bool clearDepth,
bool forceVisible,
crg::ImageViewId const & depth,
crg::ImageViewId const * depthObj )
inline

◆ ~BackgroundRenderer()

C3D_API castor3d::BackgroundRenderer::~BackgroundRenderer ( )
noexcept

Member Function Documentation

◆ getPass()

crg::FramePass const & castor3d::BackgroundRenderer::getPass ( ) const
inlinenoexcept

◆ update() [1/2]

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

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

◆ update() [2/2]

C3D_API void castor3d::BackgroundRenderer::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: