Castor3D  ..
Static Public Member Functions | List of all members
Castor3D::ElementMerger< Key, Elem, typename std::enable_if< is_detachable< Elem >::value >::type > Struct Template Reference

Helper structure to enable moving elements from a manager to another. More...

Static Public Member Functions

static void Merge (ObjectManager< Key, Elem > const &p_source, Castor::Collection< Elem, Key > &p_destination, std::shared_ptr< Elem > p_element, SceneNodeSPtr p_cameraRootNode, SceneNodeSPtr p_objectRootNode)
 

Detailed Description

template<typename Key, typename Elem>
struct Castor3D::ElementMerger< Key, Elem, typename std::enable_if< is_detachable< Elem >::value >::type >

Helper structure to enable moving elements from a manager to another.

Author
Sylvain DOREMUS
Date
13/10/2015
Version
0.8.0
Remarks
Specialisation for detachable object types.

Member Function Documentation

◆ Merge()

template<typename Key , typename Elem >
static void Castor3D::ElementMerger< Key, Elem, typename std::enable_if< is_detachable< Elem >::value >::type >::Merge ( ObjectManager< Key, Elem > const &  p_source,
Castor::Collection< Elem, Key > &  p_destination,
std::shared_ptr< Elem >  p_element,
SceneNodeSPtr  p_cameraRootNode,
SceneNodeSPtr  p_objectRootNode 
)
inlinestatic

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