Castor3D 0.12.0
Multiplatform 3D engine
Classes | Public Member Functions | List of all members
castor3d::BackgroundPass Class Reference

#include <BackgroundPass.hpp>

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

Public Member Functions

C3D_API BackgroundPass (crg::FramePass const &pass, crg::GraphContext &context, crg::RunnableGraph &graph, RenderDevice const &device, SceneBackground &background, VkExtent2D const &size, bool usesDepth)
 Constructor. More...
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise. More...
 
C3D_API void update (GpuUpdater &updater)
 Updates the render pass, GPU wise. More...
 

Constructor & Destructor Documentation

◆ BackgroundPass()

C3D_API castor3d::BackgroundPass::BackgroundPass ( crg::FramePass const &  pass,
crg::GraphContext &  context,
crg::RunnableGraph &  graph,
RenderDevice const &  device,
SceneBackground background,
VkExtent2D const &  size,
bool  usesDepth 
)

Constructor.

Parameters
[in]passThe parent frame pass.
[in]contextThe rendering context.
[in]graphThe runnable graph.
[in]deviceThe GPU device.
[in]backgroundThe scene background.
[in]sizeThe render area dimensions.
[in]usesDepthtrue to account for depth buffer.

Member Function Documentation

◆ update() [1/2]

C3D_API void castor3d::BackgroundPass::update ( CpuUpdater updater)

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

◆ update() [2/2]

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