#include <CmshImporter.hpp>
|
C3D_API | CmshImporter (Engine &engine) |
| Constructor. More...
|
|
virtual | ~MeshImporter ()=default |
|
C3D_API | MeshImporter (Engine &engine) |
| Constructor. More...
|
|
C3D_API bool | import (Mesh &mesh, castor::Path const &pathFile, Parameters const ¶meters, bool initialise) |
| Mesh import Function. More...
|
|
C3D_API bool | import (Scene &scene, castor::Path const &pathFile, Parameters const ¶meters, std::map< TextureFlag, TextureConfiguration > const &textureRemaps, bool initialise) |
| Scene import Function. More...
|
|
C3D_API castor::ImageSPtr | loadImage (castor::String const &name, castor::ImageCreateParams const ¶ms) const |
| Loads an image. More...
|
|
C3D_API castor::ImageSPtr | loadImage (castor::Path const &path) const |
| Loads an image from a file. More...
|
|
C3D_API castor::ImageSPtr | loadImage (castor::String name, castor::String type, castor::ByteArray data) const |
| Loads a texture. More...
|
|
C3D_API TextureSourceInfo | loadTexture (castor3d::SamplerRes sampler, castor::Path const &path, TextureConfiguration const &config) const |
| Loads a texture. More...
|
|
C3D_API TextureSourceInfo | loadTexture (castor3d::SamplerRes sampler, castor::String name, castor::String type, castor::ByteArray data, TextureConfiguration const &config) const |
| Loads a texture. More...
|
|
C3D_API bool | convertToNormalMap (castor::Path &path, castor3d::TextureConfiguration &config) const |
| Converts given height image file to a normal+height image. More...
|
|
|
static castor::String const | Type |
|
◆ CmshImporter()
Constructor.
- Parameters
-
[in] | engine | The core engine. |
◆ create()
static MeshImporterUPtr castor3d::CmshImporter::create |
( |
Engine & |
engine | ) |
|
|
static |
Creator function.
- Parameters
-
[in] | engine | The core engine. |
◆ doImportMesh()
C3D_API bool castor3d::CmshImporter::doImportMesh |
( |
Mesh & |
mesh | ) |
|
|
overrideprotectedvirtual |
Mesh import Function.
- Parameters
-
[out] | mesh | Receives the imported data. |
- Returns
false
if any problem occured.
Implements castor3d::MeshImporter.
◆ doImportScene()
|
inlineoverrideprotectedvirtual |
Scene import Function.
- Parameters
-
[out] | scene | Receives the imported data. |
- Returns
false
if any problem occured.
Implements castor3d::MeshImporter.
◆ Type
castor::String const castor3d::CmshImporter::Type |
|
static |
The documentation for this class was generated from the following file: