|
C3D_API | MeshManager (Engine &p_engine) |
| Constructor. More...
|
|
C3D_API | ~MeshManager () |
| Destructor. More...
|
|
C3D_API MeshSPtr | Create (Castor::String const &p_name, eMESH_TYPE p_type) |
| Creates a mesh with the given informations. More...
|
|
C3D_API MeshSPtr | Create (Castor::String const &p_name, eMESH_TYPE p_type, UIntArray const &p_arrayFaces) |
| Creates a mesh with the given informations. More...
|
|
C3D_API MeshSPtr | Create (Castor::String const &p_name, eMESH_TYPE p_type, UIntArray const &p_arrayFaces, RealArray const &p_arraySizes) |
| Creates a mesh with the given informations. More...
|
|
C3D_API bool | Save (Castor::BinaryFile &p_file) |
| Saves in a file all currently loaded meshes. More...
|
|
C3D_API bool | Load (Castor::BinaryFile &p_file) |
| Loads all meshes contained in the given file. More...
|
|
void | Cleanup () |
| Sets all the elements to be cleaned up. More...
|
|
void | Clear () |
| Flushes the collection. More...
|
|
bool | IsEmpty () |
|
void | Insert (Castor::String const &p_name, std::shared_ptr< Mesh > p_element) |
| Removes an object, given a name. More...
|
|
void | Remove (Castor::String const &p_name) |
| Removes an object, given a name. More...
|
|
void | SetRenderSystem (RenderSystem *p_renderSystem) |
|
RenderSystem * | SetRenderSystem () const |
|
Engine * | GetEngine () const |
|
Castor::String const & | GetObjectTypeName () const |
|
bool | Has (Castor::String const &p_name) const |
|
std::shared_ptr< Mesh > | Find (Castor::String const &p_name) const |
| Looks for an element with given name. More...
|
|
void | lock () const |
| Locks the collection mutex. More...
|
|
void | unlock () const |
| Unlocks the collection mutex. More...
|
|
Collection::TObjPtrMapIt | begin () |
| Returns an iterator to the first element of the collection. More...
|
|
Collection::TObjPtrMapConstIt | begin () const |
| Returns an constant iterator to the first element of the collection. More...
|
|
Collection::TObjPtrMapIt | end () |
| Returns an iterator to the after last element of the collection. More...
|
|
Collection::TObjPtrMapConstIt | end () const |
| Returns an constant iterator to the after last element of the collection. More...
|
|
std::shared_ptr< Mesh > | Create (Castor::String const &p_name, Parameters &&... p_params) |
| Creates an object. More...
|
|