#include <SubmeshComponent.hpp>
◆ cleanup()
Cleans the render data.
- Parameters
-
[in] | device | The render device. |
◆ fillBindings()
virtual C3D_API void castor3d::SubmeshRenderData::fillBindings |
( |
PipelineFlags const & | flags, |
|
|
ashes::VkDescriptorSetLayoutBindingArray & | bindings, |
|
|
uint32_t & | index ) const |
|
pure virtual |
Fills the descriptor layout bindings.
- Parameters
-
[in] | flags | The pipeline flags. |
[in,out] | bindings | Receives the additional bindings. |
[in,out] | index | The bindings starting index. |
◆ fillDescriptor()
virtual C3D_API void castor3d::SubmeshRenderData::fillDescriptor |
( |
PipelineFlags const & | flags, |
|
|
ashes::WriteDescriptorSetArray & | descriptorWrites, |
|
|
uint32_t & | index ) const |
|
pure virtual |
Initialises the additional descriptor set.
- Parameters
-
[in] | flags | The pipeline flags. |
[in,out] | descriptorWrites | Receives the descriptor writes. |
[in,out] | index | The bindings starting index. |
◆ getBindingCount()
virtual C3D_API uint32_t castor3d::SubmeshRenderData::getBindingCount |
( |
| ) |
const |
|
pure virtualnoexcept |
- Returns
- The number of bindings in this component.
◆ getPatchVertices()
virtual C3D_API uint32_t castor3d::SubmeshRenderData::getPatchVertices |
( |
| ) |
const |
|
inlinevirtualnoexcept |
- Returns
- The render shader's patch vertices.
◆ getPrimitiveTopology()
virtual C3D_API VkPrimitiveTopology castor3d::SubmeshRenderData::getPrimitiveTopology |
( |
| ) |
const |
|
pure virtualnoexcept |
- Returns
- The topology that the shader expects.
◆ initialise()
Initialises the render data.
- Parameters
-
[in] | device | The render device. |
◆ record()
virtual C3D_API crg::FramePassArray castor3d::SubmeshRenderData::record |
( |
RenderDevice const & | device, |
|
|
crg::ResourcesCache & | resources, |
|
|
crg::FramePassGroup & | graph, |
|
|
crg::FramePassArray | previousPasses ) |
|
inlinevirtual |
Records the component's dependent passes.
- Parameters
-
[in] | device | The render device. |
[in] | resources | The graph resources. |
[in] | graph | The parent graph. |
[in] | previousPasses | The passes this one depends on. |
◆ registerDependencies()
virtual C3D_API void castor3d::SubmeshRenderData::registerDependencies |
( |
crg::FramePass & | pass | ) |
const |
|
inlinevirtual |
Records the component's dependencies.
- Parameters
-
[in] | pass | The frame pass for this component. |
◆ update()
Updates the component.
- Parameters
-
[in,out] | updater | The update data. |
The documentation for this struct was generated from the following file: