Castor3D 0.17.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::NodesPassDesc Struct Reference

#include <NodesPass.hpp>

Collaboration diagram for castor3d::NodesPassDesc:
Collaboration graph
[legend]

Public Member Functions

 NodesPassDesc (VkExtent3D size, CameraUbo const &cameraUbo, SceneUbo const *sceneUbo, RenderFilters filters)
 
NodesPassDescsafeBand (bool value)
 
NodesPassDescisStatic (bool value)
 
NodesPassDesccomponentModeFlags (ComponentModeFlags value)
 

Public Attributes

VkExtent3D m_size
 
CameraUbo const & m_cameraUbo
 
SceneUbo const * m_sceneUbo {}
 
RenderFilters m_filters
 
bool m_safeBand {}
 
uint32_t m_index { 0u }
 
std::optional< bool > m_handleStatic { std::nullopt }
 
ComponentModeFlags m_componentModeFlags { ComponentModeFlag::eAll }
 

Constructor & Destructor Documentation

◆ NodesPassDesc()

castor3d::NodesPassDesc::NodesPassDesc ( VkExtent3D size,
CameraUbo const & cameraUbo,
SceneUbo const * sceneUbo,
RenderFilters filters )
inline

Member Function Documentation

◆ componentModeFlags()

NodesPassDesc & castor3d::NodesPassDesc::componentModeFlags ( ComponentModeFlags value)
inline
Parameters
[in]valueThe nodes pass components flags.

References m_componentModeFlags.

Referenced by castor3d::RenderNodesPassDesc::componentModeFlags().

Here is the caller graph for this function:

◆ isStatic()

NodesPassDesc & castor3d::NodesPassDesc::isStatic ( bool value)
inline
Parameters
[in]valuetrue if the pass is for static nodes.

References m_handleStatic.

Referenced by castor3d::RenderNodesPassDesc::isStatic().

Here is the caller graph for this function:

◆ safeBand()

NodesPassDesc & castor3d::NodesPassDesc::safeBand ( bool value)
inline
Parameters
[in]valueThe scene node to ignore during rendering.

References m_safeBand.

Referenced by castor3d::RenderNodesPassDesc::safeBand().

Here is the caller graph for this function:

Member Data Documentation

◆ m_cameraUbo

CameraUbo const& castor3d::NodesPassDesc::m_cameraUbo

◆ m_componentModeFlags

ComponentModeFlags castor3d::NodesPassDesc::m_componentModeFlags { ComponentModeFlag::eAll }

Referenced by componentModeFlags().

◆ m_filters

RenderFilters castor3d::NodesPassDesc::m_filters

◆ m_handleStatic

std::optional< bool > castor3d::NodesPassDesc::m_handleStatic { std::nullopt }

Referenced by isStatic().

◆ m_index

uint32_t castor3d::NodesPassDesc::m_index { 0u }

◆ m_safeBand

bool castor3d::NodesPassDesc::m_safeBand {}

Referenced by safeBand().

◆ m_sceneUbo

SceneUbo const* castor3d::NodesPassDesc::m_sceneUbo {}

◆ m_size

VkExtent3D castor3d::NodesPassDesc::m_size

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