#include <IndexMapping.hpp>
◆ ComponentData()
castor3d::IndexMapping::ComponentData::ComponentData |
( |
Submesh & | submesh, |
|
|
VkBufferUsageFlags | bufferUsageFlags ) |
|
inline |
◆ gather()
void castor3d::IndexMapping::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 ) |
|
inlinefinaloverridevirtual |
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.
◆ getUsageFlags()
VkBufferUsageFlags castor3d::IndexMapping::ComponentData::getUsageFlags |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
The documentation for this struct was generated from the following file: