Castor3D 0.12.0
Multiplatform 3D engine
|
Cache de AnimatedObjectGroup. Plus de détails...
#include <AnimatedObjectGroupCache.hpp>
Classes | |
struct | MeshPoolsEntry |
struct | SkeletonPoolsEntry |
Types publics | |
using | ElementT = castor3d::AnimatedObjectGroup |
using | ElementKeyT = String |
using | ElementCacheTraitsT = castor3d::AnimatedObjectGroupCacheTraits |
using | ElementCacheT = ResourceCacheBaseT< ElementT, ElementKeyT, ElementCacheTraitsT > |
using | ElementPtrT = typename ElementCacheT::ElementPtrT |
using | ElementObsT = typename ElementCacheT::ElementObsT |
using | ElementContT = typename ElementCacheT::ElementContT |
using | ElementInitialiserT = typename ElementCacheT::ElementInitialiserT |
using | ElementCleanerT = typename ElementCacheT::ElementCleanerT |
using | ElementMergerT = typename ElementCacheT::ElementMergerT |
Fonctions membres publiques | |
C3D_API | ResourceCacheT (castor3d::Scene &scene) |
Constructeur. Plus de détails... | |
C3D_API | ~ResourceCacheT ()=default |
Destructeur. Plus de détails... | |
C3D_API void | initialise (castor3d::RenderDevice const &device) |
Initialise les buffers du cache. Plus de détails... | |
C3D_API void | cleanup () |
Met tous les éléments à nettoyer. Plus de détails... | |
C3D_API void | update (castor3d::CpuUpdater &updater) |
Met à jour la passe de rendu, au niveau CPU. Plus de détails... | |
C3D_API void | clear (castor3d::RenderDevice const &device) |
Vide la collection. Plus de détails... | |
C3D_API std::vector< castor3d::AnimatedObject * > | findObject (castor::String const &name) const |
castor3d::GpuBufferOffsetT< castor3d::MorphingBufferConfiguration > const & | getMorphingBuffer () const |
castor3d::GpuBufferOffsetT< castor3d::SkinningTransformsConfiguration > const & | getSkinningTransformsBuffer () const |
Cache de AnimatedObjectGroup.
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementCacheT = ResourceCacheBaseT< ElementT, ElementKeyT, ElementCacheTraitsT > |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementCacheTraitsT = castor3d::AnimatedObjectGroupCacheTraits |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementCleanerT = typename ElementCacheT::ElementCleanerT |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementContT = typename ElementCacheT::ElementContT |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementInitialiserT = typename ElementCacheT::ElementInitialiserT |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementKeyT = String |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementMergerT = typename ElementCacheT::ElementMergerT |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementObsT = typename ElementCacheT::ElementObsT |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementPtrT = typename ElementCacheT::ElementPtrT |
using castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::ElementT = castor3d::AnimatedObjectGroup |
|
explicit |
Constructeur.
[in] | scene | La scène parent. |
|
default |
Destructeur.
C3D_API void castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::cleanup | ( | ) |
Met tous les éléments à nettoyer.
C3D_API void castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::clear | ( | castor3d::RenderDevice const & | device | ) |
Vide la collection.
[in] | device | Le device GPU. |
C3D_API std::vector< castor3d::AnimatedObject * > castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::findObject | ( | castor::String const & | name | ) | const |
|
inline |
|
inline |
C3D_API void castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::initialise | ( | castor3d::RenderDevice const & | device | ) |
Initialise les buffers du cache.
C3D_API void castor::ResourceCacheT< castor3d::AnimatedObjectGroup, String, castor3d::AnimatedObjectGroupCacheTraits >::update | ( | castor3d::CpuUpdater & | updater | ) |
Met à jour la passe de rendu, au niveau CPU.
[in,out] | updater | Les données d'update. |