Castor3D 0.13.0
Multiplatform 3D engine
|
#include <LightModule.hpp>
Types publics | |
using | KeyT = castor::String |
using | ElementT = Light |
using | BaseT = ObjectCacheTraitsBaseT< ElementT, KeyT > |
using | ElementPtrT = typename BaseT::ElementPtrT |
Types publics hérités de castor3d::ObjectCacheTraitsBaseT< Light, castor::String > | |
using | ElementT = Light |
using | ElementKeyT = castor::String |
using | ElementPtrT = std::shared_ptr< ElementT > |
using | ElementObsT = std::weak_ptr< ElementT > |
using | ElementContT = std::unordered_map< castor::String, ElementPtrT > |
using | ElementCacheT = ObjectCacheBaseT< ElementT, castor::String > |
using | ElementInitialiserT = std::function< void(ElementT &) > |
using | ElementCleanerT = std::function< void(ElementT &) > |
using | ElementMergerT = std::function< void(ElementCacheT const &, ElementContT &, ElementPtrT, SceneNodeSPtr, SceneNodeSPtr) > |
using | ElementAttacherT = std::function< void(ElementT &, SceneNode &, SceneNodeSPtr, SceneNodeSPtr, SceneNodeSPtr) > |
using | ElementDetacherT = std::function< void(ElementT &) > |
Attributs publics statiques | |
static C3D_API const castor::String | Name |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de castor3d::ObjectCacheTraitsBaseT< Light, castor::String > | |
static ElementPtrT | makeElement (ElementCacheT const &cache, ElementKeyT const &key, ParametersT &&... params) |
static ElementObsT | makeElementObs (ElementPtrT const &element) |
static bool | areElementsEqual (ElementObsT const &lhs, ElementObsT const &rhs) |
static bool | areElementsEqual (ElementObsT const &lhs, ElementPtrT const &rhs) |
static bool | areElementsEqual (ElementPtrT const &lhs, ElementObsT const &rhs) |
static bool | areElementsEqual (ElementPtrT const &lhs, ElementPtrT const &rhs) |
static bool | isElementObsNull (ElementObsT const &element) |
Structure permettant de spécialiser le comportement d'un cache d'objets de scène.
using castor3d::ObjectCacheTraitsT< Light, castor::String >::BaseT = ObjectCacheTraitsBaseT< ElementT, KeyT > |
using castor3d::ObjectCacheTraitsT< Light, castor::String >::ElementPtrT = typename BaseT::ElementPtrT |
using castor3d::ObjectCacheTraitsT< Light, castor::String >::ElementT = Light |
using castor3d::ObjectCacheTraitsT< Light, castor::String >::KeyT = castor::String |
|
static |