#include <SubmeshComponent.hpp>
◆ SubmeshComponent()
C3D_API castor3d::SubmeshComponent::SubmeshComponent |
( |
Submesh & |
submesh, |
|
|
castor::String const & |
type, |
|
|
uint32_t |
id |
|
) |
| |
Constructeur.
- Paramètres
-
[in] | submesh | Le sous-maillage parent. |
[in] | type | Le type de composant. |
[in] | id | L'ID composant. |
◆ ~SubmeshComponent()
virtual C3D_API castor3d::SubmeshComponent::~SubmeshComponent |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ cleanup()
Nettoie le sous-maillage.
◆ clone()
virtual C3D_API SubmeshComponentUPtr castor3d::SubmeshComponent::clone |
( |
Submesh & |
submesh | ) |
const |
|
pure virtual |
◆ gather()
virtual C3D_API void castor3d::SubmeshComponent::gather |
( |
PipelineFlags const & |
flags, |
|
|
MaterialObs |
material, |
|
|
ashes::BufferCRefArray & |
buffers, |
|
|
std::vector< uint64_t > & |
offsets, |
|
|
ashes::PipelineVertexInputStateCreateInfoCRefArray & |
layouts, |
|
|
uint32_t & |
currentBinding, |
|
|
uint32_t & |
currentLocation |
|
) |
| |
|
pure virtual |
Récupère les tampons qui doivent aller dans un vertex layout.
- Paramètres
-
[in] | flags | Les flags de pipeline. |
[in] | material | Les matériau. |
[in,out] | buffers | Reçoit les buffers. |
[in,out] | offsets | Reçoit les offsets dans les buffers. |
[in,out] | layouts | Reçoit les vertex layouts. |
[in,out] | currentBinding | L'index de binging actuel des buffers. |
[in,out] | currentLocation | La position actuelle des attributs. |
Implémenté dans castor3d::BaseDataComponentT< SubmeshFlagT >, castor3d::IndexMapping, castor3d::InstantiationComponent, castor3d::MeshletComponent, castor3d::MorphComponent, castor3d::PassMasksComponent, et castor3d::SkinComponent.
◆ getID()
uint32_t castor3d::SubmeshComponent::getID |
( |
| ) |
|
|
inline |
- Renvoie
- L'ID de binding du composant.
◆ getProgramFlags()
◆ getSubmeshFlags()
◆ getType()
castor::String const & castor3d::SubmeshComponent::getType |
( |
| ) |
const |
|
inline |
- Renvoie
- Le nom du type de composant.
◆ getUsageFlags()
virtual C3D_API VkBufferUsageFlags castor3d::SubmeshComponent::getUsageFlags |
( |
| ) |
const |
|
inlinevirtual |
◆ initialise()
Initialise le sous-maillage.
◆ needsUpdate()
void castor3d::SubmeshComponent::needsUpdate |
( |
| ) |
|
|
inline |
◆ upload()
C3D_API void castor3d::SubmeshComponent::upload |
( |
| ) |
|
La documentation de cette classe a été générée à partir du fichier suivant :