Castor3D 0.14.0
Multiplatform 3D engine
Classes | Types publics | Fonctions membres publiques | Liste de tous les membres
Référence de la structure castor3d::SceneRenderNodes

#include <SceneRenderNodes.hpp>

Graphe d'héritage de castor3d::SceneRenderNodes:
Inheritance graph
[légende]
Graphe de collaboration de castor3d::SceneRenderNodes:
Collaboration graph
[légende]

Classes

struct  NodeData
 

Types publics

template<typename NodeT >
using NodesPtrMapT = std::unordered_map< size_t, castor::UniquePtr< NodeT > >
 
using NodeDataArray = std::vector< NodeData >
 

Fonctions membres publiques

C3D_API SceneRenderNodes (Scene const &scene)
 
C3D_API ~SceneRenderNodes ()
 
C3D_API void registerCuller (SceneCuller &culler)
 
C3D_API void unregisterCuller (SceneCuller &culler)
 
C3D_API void clear ()
 
C3D_API SubmeshRenderNodecreateNode (Pass &pass, Submesh &data, Geometry &instance, AnimatedMesh *mesh, AnimatedSkeleton *skeleton)
 
C3D_API BillboardRenderNodecreateNode (Pass &pass, BillboardBase &instance)
 
C3D_API SubmeshRenderNode const * getSubmeshNode (uint32_t nodeId)
 
C3D_API BillboardRenderNode const * getBillboardNode (uint32_t nodeId)
 
C3D_API void reportPassChange (Submesh &data, Geometry &instance, Material const &oldMaterial, Material const &newMaterial)
 
C3D_API void reportPassChange (BillboardBase &billboard, Material const &oldMaterial, Material const &newMaterial)
 
C3D_API void update (CpuUpdater &updater)
 
C3D_API void update (GpuUpdater &updater)
 
C3D_API crg::FramePass const & createVertexTransformPass (crg::FrameGraph &graph)
 
bool hasNodes () const
 
ashes::Buffer< ModelBufferConfiguration > const & getModelBuffer () const
 
ashes::Buffer< BillboardUboConfiguration > const & getBillboardsBuffer () const
 
NodesPtrMapT< SubmeshRenderNode > const & getSubmeshNodes () const
 
NodesPtrMapT< BillboardRenderNode > const & getBillboardNodes () const
 

Documentation des définitions de type membres

◆ NodeDataArray

◆ NodesPtrMapT

template<typename NodeT >
using castor3d::SceneRenderNodes::NodesPtrMapT = std::unordered_map< size_t, castor::UniquePtr< NodeT > >

Documentation des constructeurs et destructeur

◆ SceneRenderNodes()

C3D_API castor3d::SceneRenderNodes::SceneRenderNodes ( Scene const &  scene)
explicit

◆ ~SceneRenderNodes()

C3D_API castor3d::SceneRenderNodes::~SceneRenderNodes ( )

Documentation des fonctions membres

◆ clear()

C3D_API void castor3d::SceneRenderNodes::clear ( )

◆ createNode() [1/2]

C3D_API BillboardRenderNode & castor3d::SceneRenderNodes::createNode ( Pass pass,
BillboardBase instance 
)

◆ createNode() [2/2]

C3D_API SubmeshRenderNode & castor3d::SceneRenderNodes::createNode ( Pass pass,
Submesh data,
Geometry instance,
AnimatedMesh mesh,
AnimatedSkeleton skeleton 
)

◆ createVertexTransformPass()

C3D_API crg::FramePass const & castor3d::SceneRenderNodes::createVertexTransformPass ( crg::FrameGraph &  graph)

◆ getBillboardNode()

C3D_API BillboardRenderNode const * castor3d::SceneRenderNodes::getBillboardNode ( uint32_t  nodeId)

◆ getBillboardNodes()

NodesPtrMapT< BillboardRenderNode > const & castor3d::SceneRenderNodes::getBillboardNodes ( ) const
inline

◆ getBillboardsBuffer()

ashes::Buffer< BillboardUboConfiguration > const & castor3d::SceneRenderNodes::getBillboardsBuffer ( ) const
inline

◆ getModelBuffer()

ashes::Buffer< ModelBufferConfiguration > const & castor3d::SceneRenderNodes::getModelBuffer ( ) const
inline

◆ getSubmeshNode()

C3D_API SubmeshRenderNode const * castor3d::SceneRenderNodes::getSubmeshNode ( uint32_t  nodeId)

◆ getSubmeshNodes()

NodesPtrMapT< SubmeshRenderNode > const & castor3d::SceneRenderNodes::getSubmeshNodes ( ) const
inline

◆ hasNodes()

bool castor3d::SceneRenderNodes::hasNodes ( ) const
inline

◆ registerCuller()

C3D_API void castor3d::SceneRenderNodes::registerCuller ( SceneCuller culler)

◆ reportPassChange() [1/2]

C3D_API void castor3d::SceneRenderNodes::reportPassChange ( BillboardBase billboard,
Material const &  oldMaterial,
Material const &  newMaterial 
)

◆ reportPassChange() [2/2]

C3D_API void castor3d::SceneRenderNodes::reportPassChange ( Submesh data,
Geometry instance,
Material const &  oldMaterial,
Material const &  newMaterial 
)

◆ unregisterCuller()

C3D_API void castor3d::SceneRenderNodes::unregisterCuller ( SceneCuller culler)

◆ update() [1/2]

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

◆ update() [2/2]

C3D_API void castor3d::SceneRenderNodes::update ( GpuUpdater updater)

La documentation de cette structure a été générée à partir du fichier suivant :