#include <MorphComponent.hpp>
◆ addMorphTarget()
Adds a morph target.
- Parameters
-
[in] | data | The morph target. |
◆ copy()
◆ gather()
void castor3d::MorphComponent::ComponentData::gather |
( |
PipelineFlags const & | flags, |
|
|
Pass const & | pass, |
|
|
ObjectBufferOffset const & | bufferOffsets, |
|
|
ashes::BufferCRefArray & | buffers, |
|
|
castor::Vector< uint64_t > & | offsets, |
|
|
ashes::PipelineVertexInputStateCreateInfoCRefArray & | layouts, |
|
|
uint32_t & | currentBinding, |
|
|
uint32_t & | currentLocation ) |
|
inlineoverridevirtual |
Gathers buffers that need to go in a vertex layout.
- Parameters
-
[in] | flags | The pipeline flags. |
[in] | pass | The material pass. |
[in] | bufferOffsets | Holds the buffers. |
[in,out] | buffers | Receives the buffers. |
[in,out] | offsets | Receives the buffers offsets. |
[in,out] | layouts | Receives the vertex layouts. |
[in,out] | currentBinding | The current buffer binding. |
[in,out] | currentLocation | The current attribute location. |
Implements castor3d::SubmeshComponentData.
◆ getMorphFlags()
MorphFlags castor3d::MorphComponent::ComponentData::getMorphFlags |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The morphing flags.
◆ getMorphTargets()
GpuBufferOffsetT< castor::Point4f > const & castor3d::MorphComponent::ComponentData::getMorphTargets |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The morph targets buffer.
◆ getMorphTargetsBuffers() [1/2]
- Returns
- The morph targets data.
◆ getMorphTargetsBuffers() [2/2]
- Returns
- The morph targets data.
◆ getMorphTargetsCount()
uint32_t castor3d::MorphComponent::ComponentData::getMorphTargetsCount |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The number of morph targets.
◆ SubmeshComponentData()
C3D_API castor3d::SubmeshComponentData::SubmeshComponentData |
( |
Submesh & | submesh | ) |
|
◆ BinaryParser< MorphComponent >
◆ BinaryWriter< MorphComponent >
The documentation for this struct was generated from the following file: