#include <Material.hpp>
◆ Material()
Constructor.
- Parameters
-
[in] | name | The material name. |
[in] | engine | The core engine. |
[in] | type | The material type. |
◆ ~Material()
virtual C3D_API castor3d::Material::~Material |
( |
| ) |
|
|
virtual |
◆ 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()
C3D_API PassSPtr castor3d::Material::createPass |
( |
| ) |
|
Creates a pass.
- 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 |
◆ getPass()
C3D_API PassSPtr castor3d::Material::getPass |
( |
uint32_t |
index | ) |
const |
Retrieves a pass and returns it.
- Parameters
-
[in] | index | The index of the wanted pass. |
- Returns
- The retrieved pass or nullptr if not found.
◆ getPassCount()
uint32_t castor3d::Material::getPassCount |
( |
| ) |
const |
|
inline |
◆ getRenderPassInfo()
◆ getType()
◆ 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 |
( |
| ) |
|
◆ isTextured()
◆ removePass()
C3D_API void castor3d::Material::removePass |
( |
PassSPtr |
pass | ) |
|
Removes an external pass to rhe material.
- Parameters
-
◆ setRenderPassInfo()
◆ DefaultMaterialName
const castor::String castor3d::Material::DefaultMaterialName |
|
static |
The default material name.
◆ onChanged
The signal raised when the material has changed.
The documentation for this class was generated from the following file: