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

#include <LightPropagationPass.hpp>

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

Public Types

enum  InIdx {
  LpvGridUboIdx , RLpvGridIdx , GLpvGridIdx , BLpvGridIdx ,
  GpGridIdx
}
 
enum  OutIdx {
  RLpvAccumulatorIdx , GLpvAccumulatorIdx , BLpvAccumulatorIdx , RLpvNextStepIdx ,
  GLpvNextStepIdx , BLpvNextStepIdx
}
 

Public Member Functions

C3D_API LightPropagationPass (crg::FramePass const &pass, crg::GraphContext &context, crg::RunnableGraph &graph, RenderDevice const &device, bool occlusion, uint32_t gridSize, BlendMode blendMode)
 Constructor.
 
C3D_API void accept (ConfigurationVisitorBase &visitor)
 Visitor acceptance function.
 
- Public Member Functions inherited from castor::NamedBaseT< T >
 NamedBaseT (T name) noexcept
 Constructor.
 
T const & getName () const noexcept
 Retrieves the name.
 
void rename (T name) noexcept
 

Protected Member Functions

C3D_API void doSubInitialise (uint32_t index)
 
C3D_API void doSubRecordInto (crg::RecordContext &context, VkCommandBuffer commandBuffer, uint32_t index)
 

Additional Inherited Members

- Protected Attributes inherited from castor::NamedBaseT< T >
m_name
 

Member Enumeration Documentation

◆ InIdx

Enumerator
LpvGridUboIdx 
RLpvGridIdx 
GLpvGridIdx 
BLpvGridIdx 
GpGridIdx 

◆ OutIdx

Enumerator
RLpvAccumulatorIdx 
GLpvAccumulatorIdx 
BLpvAccumulatorIdx 
RLpvNextStepIdx 
GLpvNextStepIdx 
BLpvNextStepIdx 

Constructor & Destructor Documentation

◆ LightPropagationPass()

C3D_API castor3d::LightPropagationPass::LightPropagationPass ( crg::FramePass const & pass,
crg::GraphContext & context,
crg::RunnableGraph & graph,
RenderDevice const & device,
bool occlusion,
uint32_t gridSize,
BlendMode blendMode )

Constructor.

Parameters
[in]passThe parent frame pass.
[in]contextThe rendering context.
[in]graphThe runnable graph.
[in]deviceThe GPU device.
[in]occlusionEnable occlusion or not.
[in]gridSizeThe grid dimensions.
[in]blendModeThe blend mode.

Member Function Documentation

◆ accept()

C3D_API void castor3d::LightPropagationPass::accept ( ConfigurationVisitorBase & visitor)

Visitor acceptance function.

Parameters
visitorThe ... visitor.

◆ doSubInitialise()

C3D_API void castor3d::LightPropagationPass::doSubInitialise ( uint32_t index)
protected

◆ doSubRecordInto()

C3D_API void castor3d::LightPropagationPass::doSubRecordInto ( crg::RecordContext & context,
VkCommandBuffer commandBuffer,
uint32_t index )
protected

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