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

#include <EnvironmentMapPass.hpp>

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

Public Member Functions

C3D_API EnvironmentMapPass (crg::FrameGraph &graph, RenderDevice const &device, EnvironmentMap &environmentMap, SceneNodeSPtr faceNode, uint32_t index, CubeMapFace face, SceneBackground &background)
 Constructor. More...
 
C3D_API ~EnvironmentMapPass ()
 
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...
 
C3D_API void attachTo (SceneNode &node)
 Attaches this pass to given node. More...
 
crg::FramePass const & getLastPass () const
 

Constructor & Destructor Documentation

◆ EnvironmentMapPass()

C3D_API castor3d::EnvironmentMapPass::EnvironmentMapPass ( crg::FrameGraph &  graph,
RenderDevice const &  device,
EnvironmentMap environmentMap,
SceneNodeSPtr  faceNode,
uint32_t  index,
CubeMapFace  face,
SceneBackground background 
)

Constructor.

Parameters
[in]graphThe parent graph.
[in]deviceThe GPU device.
[in]environmentMapThe parent reflection map.
[in]faceNodeThe node from which the camera is created.
[in]indexThe cube index this pass renders to.
[in]faceThe cube face this pass renders to.
[in]backgroundThe scene background.

◆ ~EnvironmentMapPass()

C3D_API castor3d::EnvironmentMapPass::~EnvironmentMapPass ( )

Member Function Documentation

◆ attachTo()

C3D_API void castor3d::EnvironmentMapPass::attachTo ( SceneNode node)

Attaches this pass to given node.

Remarks
Set the ignored node for the internal render passes.
Parameters
[in]nodeThe node.

◆ getLastPass()

crg::FramePass const & castor3d::EnvironmentMapPass::getLastPass ( ) const
inline

name Getters.

◆ update() [1/2]

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

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

◆ update() [2/2]

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