Castor3D  ..
Static Public Member Functions | List of all members
Castor3D::ElementCleaner< Elem, typename std::enable_if< is_cleanable< Elem >::value &&!is_instant< Elem >::value >::type > Struct Template Reference

Helper structure to enable cleanup if a type supports it. More...

Static Public Member Functions

static void Cleanup (Engine &p_engine, Elem &p_element)
 

Detailed Description

template<typename Elem>
struct Castor3D::ElementCleaner< Elem, typename std::enable_if< is_cleanable< Elem >::value &&!is_instant< Elem >::value >::type >

Helper structure to enable cleanup if a type supports it.

Author
Sylvain DOREMUS
Date
13/10/2015
Version
0.8.0
Remarks
Specialisation for types that support cleanup.

Member Function Documentation

◆ Cleanup()

template<typename Elem >
static void Castor3D::ElementCleaner< Elem, typename std::enable_if< is_cleanable< Elem >::value &&!is_instant< Elem >::value >::type >::Cleanup ( Engine p_engine,
Elem &  p_element 
)
inlinestatic

References Castor3D::MakeCleanupEvent(), and Castor3D::Engine::PostEvent().

+ Here is the call graph for this function:

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