Castor3D 0.17.0
Multiplatform 3D engine
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
castor3d::RenderTechniqueNodesPass Class Reference

#include <RenderTechniquePass.hpp>

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

Public Member Functions

C3D_API void accept (RenderTechniqueVisitor &visitor) override
 Visitor acceptance function.
 
C3D_API void update (CpuUpdater &updater) override
 Updates the render pass, CPU wise.
 
C3D_API PipelineFlags createPipelineFlags (PassComponentCombine const &passComponents, SubmeshComponentCombine const &submeshComponents, BlendMode colourBlendMode, BlendMode alphaBlendMode, RenderPassTypeID renderPassTypeId, LightingModelID lightingModelId, BackgroundModelID backgroundModelId, VkCompareOp alphaFunc, VkCompareOp blendAlphaFunc, TextureCombine const &textures, ProgramFlags const &programFlags, SceneFlags const &sceneFlags, VkPrimitiveTopology topology, bool isFrontCulled, uint32_t passLayerIndex, GpuBufferOffsetT< castor::Point4f > const &morphTargets, SubmeshRenderData *submeshData, uint32_t vertexStride) const override
 Creates the pipeline flags for given configuration.
 
C3D_API ShaderFlags getShaderFlags () const noexcept override
 
C3D_API void countNodes (RenderInfo &info) const noexcept override
 Registers nodes counts to given RenderInfo.
 
C3D_API bool areValidPassFlags (PassComponentCombine const &passFlags) const noexcept override
 
C3D_API bool isPassEnabled () const noexcept override
 
EnginegetEngine () const noexcept
 
Scene const & getScene () const noexcept
 
RenderTechnique const & getTechnique () const noexcept
 
DebugConfiggetDebugConfig () const noexcept
 
ClustersConfig const * getClustersConfig () const noexcept override
 
bool hasSsao () const noexcept override
 
bool areDebugTargetsEnabled () const noexcept override
 
- Public Member Functions inherited from castor3d::RenderNodesPass
C3D_API ~RenderNodesPass () noexcept override
 Destructor.
 
C3D_API void getSubmeshShaderSource (PipelineFlags const &flags, ast::ShaderBuilder &builder) const
 Retrieves the geometry shader source matching the given flags.
 
C3D_API void getPixelShaderSource (PipelineFlags const &flags, ast::ShaderBuilder &builder) const
 Retrieves the pixel shader source matching the given flags.
 
C3D_API void forceAdjustFlags (PipelineFlags &flags) const
 Adjusts given flags to match the render pass requirements.
 
C3D_API ProgramFlags adjustFlags (ProgramFlags flags) const
 Adjusts given flags to match the render pass requirements.
 
C3D_API PipelineFlags createPipelineFlags (PassComponentCombine const &passComponents, SubmeshComponentCombine const &submeshComponents, BlendMode colourBlendMode, BlendMode alphaBlendMode, RenderPassTypeID renderPassTypeId, LightingModelID lightingModelId, BackgroundModelID backgroundModelId, VkCompareOp alphaFunc, VkCompareOp blendAlphaFunc, TextureCombine const &textures, ProgramFlags const &programFlags, SceneFlags const &sceneFlags, VkPrimitiveTopology topology, bool isFrontCulled, uint32_t passLayerIndex, GpuBufferOffsetT< castor::Point4f > const &morphTargets, SubmeshRenderData const *submeshData, uint32_t vertexStride) const noexcept
 Creates the pipeline flags for given configuration.
 
C3D_API PipelineFlags createPipelineFlags (Pass const &pass, TextureCombine const &textures, SubmeshComponentCombine const &submeshComponents, ProgramFlags const &programFlags, SceneFlags const &sceneFlags, VkPrimitiveTopology topology, bool isFrontCulled, GpuBufferOffsetT< castor::Point4f > const &morphTargets, SubmeshRenderData const *submeshData, uint32_t vertexStride) const noexcept
 Creates the pipeline flags for given configuration.
 
C3D_API PipelineAndID prepareBackPipeline (PipelineFlags const &pipelineFlags, ashes::PipelineVertexInputStateCreateInfoCRefArray const &vertexLayouts, ashes::DescriptorSetLayout const *vertexPullingLayouts, ashes::DescriptorSetLayout const *meshletDescriptorLayout)
 Prepares the pipeline matching the given flags, for back face culling nodes.
 
C3D_API PipelineAndID prepareFrontPipeline (PipelineFlags const &pipelineFlags, ashes::PipelineVertexInputStateCreateInfoCRefArray const &vertexLayouts, ashes::DescriptorSetLayout const *vertexPullingLayouts, ashes::DescriptorSetLayout const *meshletDescriptorLayout)
 Prepares the pipeline matching the given flags, for front face culling nodes.
 
C3D_API void cleanupPipelines ()
 Cleans up all pipelines from the lists.
 
C3D_API void initialiseAdditionalDescriptor (RenderPipeline &pipeline, ShadowMapLightTypeArray const &shadowMaps, ShadowBuffer const *shadowBuffer)
 Initialises the additional descriptor set.
 
C3D_API void setIgnoredNode (SceneNode const &node)
 Sets the node ignored node.
 
C3D_API void countNodes (RenderInfo &info) const noexcept
 Registers nodes counts to given RenderInfo.
 
C3D_API SubmeshComponentCombine adjustFlags (SubmeshComponentCombine const &submeshCombine) const
 Adjusts given flags to match the render pass requirements.
 
C3D_API PassComponentCombine adjustFlags (PassComponentCombine const &passCombine) const
 Adjusts given flags to match the render pass requirements.
 
C3D_API TextureCombine adjustFlags (TextureCombine const &textureCombine) const
 Filters the given textures flags using this pass needed textures.
 
C3D_API SceneFlags adjustFlags (SceneFlags flags) const
 Adjusts given flags to match the render pass requirements.
 
C3D_API bool allowClusteredLighting (ClustersConfig const &config) const noexcept
 
C3D_API bool hasNodes () const noexcept
 
C3D_API ScenegetScene () const noexcept
 
C3D_API SceneNode const * getIgnoredNode () const noexcept
 
C3D_API bool isMeshShading () const noexcept
 
C3D_API PipelinesNodesT< SubmeshRenderNode > const & getSubmeshNodes () const
 
C3D_API InstantiatedPipelinesNodesT< SubmeshRenderNode > const & getInstancedSubmeshNodes () const
 
C3D_API PipelinesNodesT< BillboardRenderNode > const & getBillboardNodes () const
 
C3D_API uint32_t getMaxPipelineId () const
 
C3D_API PipelineBufferArray const & getPassPipelineNodes () const
 
C3D_API uint32_t getPipelineNodesIndex (PipelineBaseHash const &hash, ashes::BufferBase const &posBuffer, ashes::BufferBase const *idxBuffer) const
 
C3D_API uint32_t getDrawCallsCount () const
 
C3D_API RenderCounts const & getVisibleCounts () const
 
bool isOrderIndependent () const noexcept
 
SceneCullergetCuller () const noexcept
 
CameraUbo const & getMatrixUbo () const noexcept
 
uint32_t getPipelinesCount () const noexcept
 
bool forceTwoSided () const noexcept
 
DeferredLightingFilter getDeferredLightingFilter () const noexcept
 
ParallaxOcclusionFilter getParallaxOcclusionFilter () const noexcept
 
- Public Member Functions inherited from castor3d::NodesPass
virtual ~NodesPass () noexcept=default
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise.
 
C3D_API SubmeshComponentCombine adjustFlags (SubmeshComponentCombine const &submeshCombine) const
 Adjusts given flags to match the render pass requirements.
 
C3D_API PassComponentCombine adjustFlags (PassComponentCombine const &passCombine) const
 Adjusts given flags to match the render pass requirements.
 
C3D_API TextureCombine adjustFlags (TextureCombine const &textureCombine) const
 Filters the given textures flags using this pass needed textures.
 
C3D_API SceneFlags adjustFlags (SceneFlags flags) const
 Adjusts given flags to match the render pass requirements.
 
C3D_API bool areValidPassFlags (PassComponentCombine const &passFlags) const noexcept
 
C3D_API bool isValidPass (Pass const &pass) const noexcept
 
C3D_API bool isValidRenderable (RenderedObject const &object) const noexcept
 
C3D_API bool isValidNode (SceneNode const &node) const noexcept
 
ComponentModeFlags getComponentsMask () const noexcept
 
bool isDirty () const noexcept
 
RenderFilters getRenderFilters () const noexcept
 
castor::String const & getTypeName () const noexcept
 
RenderPassTypeID getTypeID () const noexcept
 
bool filtersStatic () const noexcept
 
bool filtersNonStatic () const noexcept
 
bool handleStatic () const noexcept
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const noexcept
 
void setOwner (Engine &owner) noexcept
 
- 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
 
- Public Member Functions inherited from castor3d::RenderTechniquePass
virtual C3D_API ~RenderTechniquePass () noexcept=default
 
C3D_API EnginegetEngine () const noexcept
 
C3D_API IndirectLightingData const & getIndirectLighting () const noexcept
 
C3D_API DebugConfiggetDebugConfig () const noexcept
 
C3D_API bool areDebugTargetsEnabled () const noexcept
 
Scene const & getScene () noexcept
 
Scene const & getScene () const noexcept
 
RenderTechnique const & getTechnique () const noexcept
 

Protected Member Functions

C3D_API RenderTechniqueNodesPass (RenderTechnique *parent, crg::FramePass const &pass, crg::GraphContext &context, crg::RunnableGraph &graph, RenderDevice const &device, castor::String const &typeName, crg::ImageViewIdArray targetImage, crg::ImageViewIdArray targetDepth, RenderNodesPassDesc const &renderPassDesc, RenderTechniquePassDesc const &techniquePassDesc)
 Constructor.
 
C3D_API void doAccept (castor3d::RenderTechniqueVisitor &visitor) override
 Visitor acceptance function.
 
C3D_API ProgramFlags doAdjustProgramFlags (ProgramFlags flags) const override
 
C3D_API SceneFlags doAdjustSceneFlags (SceneFlags flags) const override
 
C3D_API void doAddEnvBindings (ashes::VkDescriptorSetLayoutBindingArray &bindings, uint32_t &index) const
 
C3D_API void doAddGIBindings (ashes::VkDescriptorSetLayoutBindingArray &bindings, uint32_t &index) const
 
C3D_API void doAddPassSpecificsBindings (ashes::VkDescriptorSetLayoutBindingArray &bindings, uint32_t &index) const
 
C3D_API void doAddEnvDescriptor (ashes::WriteDescriptorSetArray &descriptorWrites, uint32_t &index) const
 
C3D_API void doAddGIDescriptor (ashes::WriteDescriptorSetArray &descriptorWrites, uint32_t &index) const
 
C3D_API void doAddPassSpecificsDescriptor (ashes::WriteDescriptorSetArray &descriptorWrites, uint32_t &index) const
 
- Protected Member Functions inherited from castor3d::RenderNodesPass
C3D_API RenderNodesPass (crg::FramePass const &pass, crg::GraphContext &context, crg::RunnableGraph &graph, RenderDevice const &device, castor::String const &typeName, crg::ImageViewIdArray targetImage, crg::ImageViewIdArray targetDepth, RenderNodesPassDesc const &desc)
 Constructor.
 
C3D_API void doUpdate (CpuUpdater &updater) override
 Updates the render pass, CPU wise.
 
virtual C3D_API void doUpdateUbos (CpuUpdater &updater)
 Updates the render pass, CPU wise.
 
C3D_API ShaderProgramRPtr doGetProgram (PipelineFlags const &flags)
 
C3D_API bool doIsValidPass (Pass const &pass) const noexcept override
 
C3D_API bool doIsValidRenderable (RenderedObject const &object) const noexcept override
 
C3D_API SubmeshComponentCombine doAdjustSubmeshComponents (SubmeshComponentCombine submeshCombine) const override
 
C3D_API bool doAreValidPassFlags (PassComponentCombine const &passFlags) const noexcept override
 
C3D_API bool doIsValidNode (SceneNode const &node) const noexcept override
 
C3D_API void doAccept (castor3d::RenderTechniqueVisitor &visitor)
 Visitor acceptance function.
 
C3D_API void doUpdateFlags (PipelineFlags &flags) const
 
C3D_API void doAddShadowBindings (Scene const &scene, ashes::VkDescriptorSetLayoutBindingArray &bindings, uint32_t &index) const
 
C3D_API void doAddBackgroundBindings (Scene const &scene, ashes::VkDescriptorSetLayoutBindingArray &bindings, uint32_t &index) const
 
C3D_API void doAddClusteredLightingBindings (RenderTarget const &target, ashes::VkDescriptorSetLayoutBindingArray &bindings, uint32_t &index) const
 
C3D_API void doAddShadowDescriptor (Scene const &scene, ashes::WriteDescriptorSetArray &descriptorWrites, ShadowMapLightTypeArray const &shadowMaps, ShadowBuffer const *shadowBuffer, uint32_t &index) const
 
C3D_API void doAddBackgroundDescriptor (Scene const &scene, ashes::WriteDescriptorSetArray &descriptorWrites, crg::ImageViewIdArray const &targetImage, uint32_t &index) const
 
C3D_API void doAddClusteredLightingDescriptor (RenderTarget const &target, ashes::WriteDescriptorSetArray &descriptorWrites, uint32_t &index) const
 
RenderQueuegetRenderQueue () const noexcept
 
- Protected Member Functions inherited from castor3d::NodesPass
C3D_API NodesPass (RenderDevice const &device, castor::String const &categoryName, castor::String const &typeName, castor::String const &fullName, crg::ImageViewIdArray targetImage, crg::ImageViewIdArray targetDepth, NodesPassDesc const &desc)
 Constructor.
 
- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner) noexcept
 Constructor.
 
- Protected Member Functions inherited from castor3d::RenderTechniquePass
C3D_API RenderTechniquePass (RenderTechnique *parent, Scene const &scene, bool outputScattering)
 Constructor.
 

Protected Attributes

Cameram_camera { nullptr }
 
ShaderFlags m_shaderFlags {}
 
SsaoConfig const * m_ssaoConfig {}
 
Texture const * m_ssao {}
 
IndirectLightingData m_indirectLighting
 
ClustersConfig const * m_clustersConfig {}
 
- Protected Attributes inherited from castor3d::RenderNodesPass
bool m_oit { false }
 
bool m_forceTwoSided { false }
 
bool m_meshShading {}
 
bool m_allowClusteredLighting {}
 
DeferredLightingFilter m_deferredLightingFilter {}
 
ParallaxOcclusionFilter m_parallaxOcclusionFilter {}
 
- Protected Attributes inherited from castor3d::NodesPass
RenderDevice const & m_device
 
RenderSystemm_renderSystem
 
CameraUbo const & m_cameraUbo
 
crg::ImageViewIdArray m_targetImage
 
crg::ImageViewIdArray m_targetDepth
 
castor::String m_typeName
 
RenderPassTypeID m_typeID {}
 
RenderFilters m_filters { RenderFilter::eNone }
 
castor::String m_category
 
castor::Size m_size
 
bool m_safeBand { false }
 
bool m_isDirty { true }
 
SceneUbo const * m_sceneUbo {}
 
uint32_t m_index { 0u }
 
std::optional< bool > m_handleStatic { std::nullopt }
 
ComponentModeFlags m_componentsMask {}
 
- Protected Attributes inherited from castor::NamedBaseT< T >
m_name
 
- Protected Attributes inherited from castor3d::RenderTechniquePass
RenderTechniquem_parent {}
 
Scene const & m_scene
 
uint32_t m_drawCalls {}
 
bool m_outputScattering {}
 

Additional Inherited Members

- Static Public Member Functions inherited from castor3d::RenderNodesPass
static C3D_API ashes::PipelineColorBlendStateCreateInfo createBlendState (BlendMode colourBlendMode, BlendMode alphaBlendMode, uint32_t attachesCount)
 
- Static Public Member Functions inherited from castor3d::NodesPass
static C3D_API void addShadowBindings (SceneFlags const &sceneFlags, ashes::VkDescriptorSetLayoutBindingArray &bindings, VkShaderStageFlags shaderStages, uint32_t &index)
 Adds shadow maps descriptor layout bindings to given list.
 
static C3D_API void addShadowBindings (ashes::VkDescriptorSetLayoutBindingArray &bindings, VkShaderStageFlags shaderStages, uint32_t &index)
 Adds shadow maps descriptor layout bindings to given list.
 
static C3D_API void addBackgroundBindings (SceneBackground const &background, ashes::VkDescriptorSetLayoutBindingArray &bindings, VkShaderStageFlags shaderStages, uint32_t &index)
 Adds background descriptor layout bindings to given list.
 
static C3D_API void addGIBindings (SceneFlags flags, IndirectLightingData const &indirectLighting, ashes::VkDescriptorSetLayoutBindingArray &bindings, VkShaderStageFlags shaderStages, uint32_t &index)
 Adds indirect lighting descriptor layout bindings to given list.
 
static C3D_API void addClusteredLightingBindings (FrustumClusters const &frustumClusters, ashes::VkDescriptorSetLayoutBindingArray &bindings, VkShaderStageFlags shaderStages, uint32_t &index)
 Adds clusters descriptor layout bindings to given list.
 
static C3D_API void addShadowDescriptor (RenderSystem const &renderSystem, crg::RunnableGraph &graph, ashes::WriteDescriptorSetArray &descriptorWrites, ShadowMapLightTypeArray const &shadowMaps, ShadowBuffer const &shadowBuffer, uint32_t &index)
 
static C3D_API void addShadowDescriptor (RenderSystem const &renderSystem, crg::RunnableGraph &graph, SceneFlags const &sceneFlags, ashes::WriteDescriptorSetArray &descriptorWrites, ShadowMapLightTypeArray const &shadowMaps, ShadowBuffer const &shadowBuffer, uint32_t &index)
 
static C3D_API void addBackgroundDescriptor (SceneBackground const &background, ashes::WriteDescriptorSetArray &descriptorWrites, crg::ImageViewIdArray const &targetImage, uint32_t &index)
 
static C3D_API void addGIDescriptor (SceneFlags sceneFlags, IndirectLightingData const &indirectLighting, ashes::WriteDescriptorSetArray &descriptorWrites, uint32_t &index)
 
static C3D_API void addClusteredLightingDescriptor (FrustumClusters const &frustumClusters, ashes::WriteDescriptorSetArray &descriptorWrites, uint32_t &index)
 
- Public Attributes inherited from castor3d::NodesPass
NodesPassChangeSignal onSortNodes
 

Constructor & Destructor Documentation

◆ RenderTechniqueNodesPass()

C3D_API castor3d::RenderTechniqueNodesPass::RenderTechniqueNodesPass ( RenderTechnique * parent,
crg::FramePass const & pass,
crg::GraphContext & context,
crg::RunnableGraph & graph,
RenderDevice const & device,
castor::String const & typeName,
crg::ImageViewIdArray targetImage,
crg::ImageViewIdArray targetDepth,
RenderNodesPassDesc const & renderPassDesc,
RenderTechniquePassDesc const & techniquePassDesc )
protected

Constructor.

Parameters
[in]parentThe parent technique.
[in]passThe parent frame pass.
[in]contextThe rendering context.
[in]graphThe runnable graph.
[in]deviceThe GPU device.
[in]typeNameThe pass type name.
[in]targetImageThe image this pass renders to.
[in]targetDepthThe depth image this pass renders to.
[in]renderPassDescThe scene render pass construction data.
[in]techniquePassDescThe technique render pass construction data.

Member Function Documentation

◆ accept()

C3D_API void castor3d::RenderTechniqueNodesPass::accept ( RenderTechniqueVisitor & visitor)
overridevirtual

Visitor acceptance function.

Parameters
visitorThe ... visitor.

Reimplemented from castor3d::RenderTechniquePass.

Reimplemented in castor3d::VisibilityPass, and castor3d::TransparentPass.

◆ areDebugTargetsEnabled()

bool castor3d::RenderTechniqueNodesPass::areDebugTargetsEnabled ( ) const
inlineoverridevirtualnoexcept

Reimplemented from castor3d::RenderNodesPass.

References castor3d::RenderTechniquePass::areDebugTargetsEnabled().

Here is the call graph for this function:

◆ areValidPassFlags()

C3D_API bool castor3d::RenderTechniqueNodesPass::areValidPassFlags ( PassComponentCombine const & passFlags) const
inlineoverridevirtualnoexcept

name Getters.

Implements castor3d::RenderTechniquePass.

References castor3d::NodesPass::areValidPassFlags().

Here is the call graph for this function:

◆ countNodes()

C3D_API void castor3d::RenderTechniqueNodesPass::countNodes ( RenderInfo & info) const
inlineoverridevirtualnoexcept

Registers nodes counts to given RenderInfo.

Parameters
[in,out]infoReceives the counts.

Implements castor3d::RenderTechniquePass.

References castor3d::RenderNodesPass::countNodes().

Here is the call graph for this function:

◆ createPipelineFlags()

C3D_API PipelineFlags castor3d::RenderTechniqueNodesPass::createPipelineFlags ( PassComponentCombine const & passComponents,
SubmeshComponentCombine const & submeshComponents,
BlendMode colourBlendMode,
BlendMode alphaBlendMode,
RenderPassTypeID renderPassTypeId,
LightingModelID lightingModelId,
BackgroundModelID backgroundModelId,
VkCompareOp alphaFunc,
VkCompareOp blendAlphaFunc,
TextureCombine const & textures,
ProgramFlags const & programFlags,
SceneFlags const & sceneFlags,
VkPrimitiveTopology topology,
bool isFrontCulled,
uint32_t passLayerIndex,
GpuBufferOffsetT< castor::Point4f > const & morphTargets,
SubmeshRenderData * submeshData,
uint32_t vertexStride ) const
overridevirtual

Creates the pipeline flags for given configuration.

Parameters
[in]passComponentsThe pass components combination.
[in]submeshComponentsThe submesh components combination.
[in]colourBlendModeThe colour blending mode.
[in]alphaBlendModeThe alpha blending mode.
[in]renderPassTypeIdThe render pass type ID.
[in]lightingModelIdThe lighting model ID.
[in]backgroundModelIdThe background model ID.
[in]alphaFuncThe alpha comparison function (for opaque nodes).
[in]blendAlphaFuncThe alpha comparison function (for transparent nodes).
[in]texturesThe textures configuration.
[in]programFlagsA combination of ProgramFlag.
[in]sceneFlagsScene related flags.
[in]topologyThe render topology.
[in]isFrontCulledtrue for front face culling, false for back face culling.
[in]passLayerIndexThe material pass layer index.
[in]morphTargetsThe morph targets buffer.
[in]submeshDataThe submesh render data, if any.
[in]vertexStrideThe number of byytes between two position attributes inside the vertex buffer.

Implements castor3d::RenderTechniquePass.

◆ doAccept()

C3D_API void castor3d::RenderTechniqueNodesPass::doAccept ( castor3d::RenderTechniqueVisitor & visitor)
overrideprotectedvirtual

Visitor acceptance function.

Parameters
visitorThe ... visitor.

Implements castor3d::RenderTechniquePass.

◆ doAddEnvBindings()

C3D_API void castor3d::RenderTechniqueNodesPass::doAddEnvBindings ( ashes::VkDescriptorSetLayoutBindingArray & bindings,
uint32_t & index ) const
protected

◆ doAddEnvDescriptor()

C3D_API void castor3d::RenderTechniqueNodesPass::doAddEnvDescriptor ( ashes::WriteDescriptorSetArray & descriptorWrites,
uint32_t & index ) const
protected

◆ doAddGIBindings()

C3D_API void castor3d::RenderTechniqueNodesPass::doAddGIBindings ( ashes::VkDescriptorSetLayoutBindingArray & bindings,
uint32_t & index ) const
protected

◆ doAddGIDescriptor()

C3D_API void castor3d::RenderTechniqueNodesPass::doAddGIDescriptor ( ashes::WriteDescriptorSetArray & descriptorWrites,
uint32_t & index ) const
protected

◆ doAddPassSpecificsBindings()

C3D_API void castor3d::RenderTechniqueNodesPass::doAddPassSpecificsBindings ( ashes::VkDescriptorSetLayoutBindingArray & bindings,
uint32_t & index ) const
protected

◆ doAddPassSpecificsDescriptor()

C3D_API void castor3d::RenderTechniqueNodesPass::doAddPassSpecificsDescriptor ( ashes::WriteDescriptorSetArray & descriptorWrites,
uint32_t & index ) const
protected

◆ doAdjustProgramFlags()

C3D_API ProgramFlags castor3d::RenderTechniqueNodesPass::doAdjustProgramFlags ( ProgramFlags flags) const
overrideprotectedvirtual

Reimplemented from castor3d::RenderNodesPass.

◆ doAdjustSceneFlags()

C3D_API SceneFlags castor3d::RenderTechniqueNodesPass::doAdjustSceneFlags ( SceneFlags flags) const
overrideprotectedvirtual

Reimplemented from castor3d::RenderNodesPass.

◆ getClustersConfig()

ClustersConfig const * castor3d::RenderTechniqueNodesPass::getClustersConfig ( ) const
inlineoverridevirtualnoexcept

◆ getDebugConfig()

DebugConfig & castor3d::RenderTechniqueNodesPass::getDebugConfig ( ) const
inlinenoexcept

References castor3d::RenderTechniquePass::getDebugConfig().

Here is the call graph for this function:

◆ getEngine()

Engine * castor3d::RenderTechniqueNodesPass::getEngine ( ) const
inlinenoexcept

name Getters.

References castor3d::RenderTechniquePass::getEngine().

Here is the call graph for this function:

◆ getScene()

Scene const & castor3d::RenderTechniqueNodesPass::getScene ( ) const
inlinenoexcept

References castor3d::RenderTechniquePass::getScene().

Here is the call graph for this function:

◆ getShaderFlags()

C3D_API ShaderFlags castor3d::RenderTechniqueNodesPass::getShaderFlags ( ) const
inlineoverridevirtualnoexcept

Reimplemented from castor3d::RenderNodesPass.

Reimplemented in castor3d::VisibilityPass.

References m_shaderFlags.

◆ getTechnique()

RenderTechnique const & castor3d::RenderTechniqueNodesPass::getTechnique ( ) const
inlinenoexcept

References castor3d::RenderTechniquePass::getTechnique().

Here is the call graph for this function:

◆ hasSsao()

bool castor3d::RenderTechniqueNodesPass::hasSsao ( ) const
inlineoverridevirtualnoexcept

◆ isPassEnabled()

C3D_API bool castor3d::RenderTechniqueNodesPass::isPassEnabled ( ) const
inlineoverridevirtualnoexcept

name Getters.

Reimplemented from castor3d::RenderNodesPass.

References castor3d::RenderNodesPass::isPassEnabled().

Here is the call graph for this function:

◆ update()

C3D_API void castor3d::RenderTechniqueNodesPass::update ( CpuUpdater & updater)
overridevirtual

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

Reimplemented from castor3d::RenderTechniquePass.

Member Data Documentation

◆ m_camera

Camera* castor3d::RenderTechniqueNodesPass::m_camera { nullptr }
protected

◆ m_clustersConfig

ClustersConfig const* castor3d::RenderTechniqueNodesPass::m_clustersConfig {}
protected

Referenced by getClustersConfig().

◆ m_indirectLighting

IndirectLightingData castor3d::RenderTechniqueNodesPass::m_indirectLighting
protected

◆ m_shaderFlags

ShaderFlags castor3d::RenderTechniqueNodesPass::m_shaderFlags {}
protected

Referenced by getShaderFlags().

◆ m_ssao

Texture const* castor3d::RenderTechniqueNodesPass::m_ssao {}
protected

Referenced by hasSsao().

◆ m_ssaoConfig

SsaoConfig const* castor3d::RenderTechniqueNodesPass::m_ssaoConfig {}
protected

Referenced by hasSsao().


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