#include <Material.hpp>
◆ Material()
Constructor.
- Parameters
-
[in] | name | The material name. |
[in] | engine | The core engine. |
[in] | lightingModelId | The material's lighting model ID. |
◆ ~Material()
virtual C3D_API castor3d::Material::~Material |
( |
| ) |
|
|
virtualdefault |
◆ addParsers()
◆ addPass()
C3D_API void castor3d::Material::addPass |
( |
Pass const & | pass | ) |
|
Adds a pass, cloning the given one.
◆ begin() [1/2]
PassPtrArrayIt castor3d::Material::begin |
( |
| ) |
|
|
inline |
◆ begin() [2/2]
PassPtrArrayConstIt castor3d::Material::begin |
( |
| ) |
const |
|
inline |
◆ cleanup()
C3D_API void castor3d::Material::cleanup |
( |
| ) |
|
◆ createPass() [1/2]
C3D_API PassRPtr castor3d::Material::createPass |
( |
| ) |
|
Creates a pass.
- Returns
- The created pass.
◆ createPass() [2/2]
Creates a pass.
- Parameters
-
[in] | lightingModelId | The pass' lighting model ID. |
- Returns
- The created pass.
◆ destroyPass()
C3D_API void castor3d::Material::destroyPass |
( |
uint32_t | index | ) |
|
Destroys the pass at the given index.
- Parameters
-
◆ end() [1/2]
PassPtrArrayIt castor3d::Material::end |
( |
| ) |
|
|
inline |
◆ end() [2/2]
PassPtrArrayConstIt castor3d::Material::end |
( |
| ) |
const |
|
inline |
◆ getLightingModelId()
◆ getPass()
C3D_API PassRPtr castor3d::Material::getPass |
( |
uint32_t | index | ) |
const |
◆ getPassCount()
uint32_t castor3d::Material::getPassCount |
( |
| ) |
const |
|
inline |
◆ getRenderPassInfo()
◆ hasAlphaBlending()
C3D_API bool castor3d::Material::hasAlphaBlending |
( |
| ) |
const |
◆ hasEnvironmentMapping()
C3D_API bool castor3d::Material::hasEnvironmentMapping |
( |
| ) |
const |
◆ hasSubsurfaceScattering()
C3D_API bool castor3d::Material::hasSubsurfaceScattering |
( |
| ) |
const |
◆ initialise()
C3D_API void castor3d::Material::initialise |
( |
| ) |
|
◆ isInitialised()
bool castor3d::Material::isInitialised |
( |
| ) |
const |
|
inlinenoexcept |
◆ isSerialisable()
bool castor3d::Material::isSerialisable |
( |
| ) |
const |
|
inlinenoexcept |
◆ removePass()
C3D_API void castor3d::Material::removePass |
( |
Pass const & | pass | ) |
|
Removes an external pass to rhe material.
- Parameters
-
◆ setRenderPassInfo()
◆ setSerialisable()
void castor3d::Material::setSerialisable |
( |
bool | v | ) |
|
|
inlinenoexcept |
◆ DefaultMaterialName
The default material name.
◆ onChanged
The signal raised when the material has changed.
The documentation for this class was generated from the following file: