Castor3D 0.12.0
Multiplatform 3D engine
|
#include <SceneRenderNodes.hpp>
Types publics | |
template<typename NodeT > | |
using | DescriptorNodesPtrT = std::unordered_map< size_t, castor::UniquePtr< NodeT > > |
template<typename NodeT > | |
using | DescriptorNodesPoolsT = std::unordered_map< size_t, DescriptorNodesPtrT< NodeT > > |
Fonctions membres publiques | |
C3D_API | SceneRenderNodes (Scene const &scene) |
C3D_API void | clear () |
C3D_API SubmeshRenderNode & | createNode (Pass &pass, Submesh &data, Geometry &instance, AnimatedMesh *mesh, AnimatedSkeleton *skeleton) |
C3D_API BillboardRenderNode & | createNode (Pass &pass, BillboardBase &instance) |
C3D_API SubmeshRenderNode const * | getSubmeshNode (uint32_t nodeId) |
C3D_API BillboardRenderNode const * | getBillboardNode (uint32_t nodeId) |
C3D_API void | update (CpuUpdater &updater) |
C3D_API void | update (GpuUpdater &updater) |
bool | hasNodes () const |
ashes::Buffer< ModelBufferConfiguration > const & | getModelBuffer () const |
ashes::Buffer< BillboardUboConfiguration > const & | getBillboardsBuffer () const |
DescriptorNodesPoolsT< SubmeshRenderNode > const & | getSubmeshNodes () const |
DescriptorNodesPoolsT< BillboardRenderNode > const & | getBillboardNodes () const |
using castor3d::SceneRenderNodes::DescriptorNodesPoolsT = std::unordered_map< size_t, DescriptorNodesPtrT< NodeT > > |
using castor3d::SceneRenderNodes::DescriptorNodesPtrT = std::unordered_map< size_t, castor::UniquePtr< NodeT > > |
C3D_API void castor3d::SceneRenderNodes::clear | ( | ) |
C3D_API BillboardRenderNode & castor3d::SceneRenderNodes::createNode | ( | Pass & | pass, |
BillboardBase & | instance | ||
) |
C3D_API SubmeshRenderNode & castor3d::SceneRenderNodes::createNode | ( | Pass & | pass, |
Submesh & | data, | ||
Geometry & | instance, | ||
AnimatedMesh * | mesh, | ||
AnimatedSkeleton * | skeleton | ||
) |
C3D_API BillboardRenderNode const * castor3d::SceneRenderNodes::getBillboardNode | ( | uint32_t | nodeId | ) |
|
inline |
|
inline |
|
inline |
C3D_API SubmeshRenderNode const * castor3d::SceneRenderNodes::getSubmeshNode | ( | uint32_t | nodeId | ) |
|
inline |
|
inline |
C3D_API void castor3d::SceneRenderNodes::update | ( | CpuUpdater & | updater | ) |
C3D_API void castor3d::SceneRenderNodes::update | ( | GpuUpdater & | updater | ) |