#include <SubmeshComponent.hpp>
|
| OwnedBy (Submesh &owner) |
| Constructor.
|
|
◆ SubmeshComponent()
Constructor.
- Parameters
-
[in] | submesh | The parent submesh. |
[in] | type | The component type. |
[in] | data | The component data. |
[in] | deps | The components this one depends on. |
◆ ~SubmeshComponent()
virtual C3D_API castor3d::SubmeshComponent::~SubmeshComponent |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ accept()
◆ clone()
virtual C3D_API SubmeshComponentUPtr castor3d::SubmeshComponent::clone |
( |
Submesh & | submesh | ) |
const |
|
pure virtual |
Clones this component into given submesh.
- Parameters
-
[in,out] | submesh | Receives the cloned component. |
Implemented in castor3d::BaseDataComponentT< SubmeshDataT, DataT >, castor3d::DefaultRenderComponent, castor3d::InstantiationComponent, castor3d::LinesMapping, castor3d::MeshletComponent, castor3d::MorphComponent, castor3d::PassMasksComponent, castor3d::SkinComponent, and castor3d::TriFaceMapping.
◆ getBaseData()
◆ getDataT()
template<typename DataT >
DataT * castor3d::SubmeshComponent::getDataT |
( |
| ) |
const |
|
inlinenoexcept |
◆ getDependencies()
castor::StringArray const & castor3d::SubmeshComponent::getDependencies |
( |
| ) |
const |
|
inlinenoexcept |
◆ getId()
◆ getPlugin()
◆ getProgramFlags()
◆ getRenderData()
◆ getRenderDataT()
template<typename DataT >
DataT * castor3d::SubmeshComponent::getRenderDataT |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSubmeshFlags()
◆ getType()
◆ initialiseRenderData()
C3D_API void castor3d::SubmeshComponent::initialiseRenderData |
( |
| ) |
|
Initialises the render data specific for this component's submesh.
◆ writeText()
Writes the component content to text.
- Parameters
-
[in] | tabs | The current tabulation level. |
[in] | folder | The resources folder. |
[in] | subfolder | The resources subfolder. |
[in,out] | file | The output file. |
◆ m_data
◆ m_renderData
The documentation for this class was generated from the following file: