|
void | gather (PipelineFlags const &flags, Pass const &pass, ObjectBufferOffset const &bufferOffsets, ashes::BufferCRefArray &buffers, castor::Vector< uint64_t > &offsets, ashes::PipelineVertexInputStateCreateInfoCRefArray &layouts, uint32_t ¤tBinding, uint32_t ¤tLocation) override |
| Gathers buffers that need to go in a vertex layout.
|
|
void | copy (SubmeshComponentDataRPtr data) const override |
| Copies given component's data into this one.
|
|
C3D_API void | createDescriptorSet (Geometry const &geometry, Pass const &pass) |
|
C3D_API ashes::DescriptorSet const & | getDescriptorSet (Geometry const &geometry, Pass const &pass) const |
|
C3D_API void | instantiate (Geometry const &geometry, Pass const &pass) |
|
C3D_API GpuBufferOffsetT< MeshletCullData > const & | getFinalCullBuffer (Geometry const &geometry, Pass const &pass) const |
|
ashes::DescriptorSetLayout const & | getDescriptorLayout () const |
|
castor::Vector< Meshlet > const & | getMeshletsData () const |
|
castor::Vector< Meshlet > & | getMeshletsData () |
|
castor::Vector< MeshletCullData > & | getCullData () |
|
bool | hasCullData () const noexcept |
|
uint32_t | getMeshletsCount () const |
|
GpuBufferOffsetT< MeshletCullData > const & | getSourceCullBuffer () const |
|
C3D_API | SubmeshComponentData (Submesh &submesh) |
|
C3D_API | SubmeshComponentData (Submesh &submesh) |
|
C3D_API bool | initialise (RenderDevice const &device) |
| Initialises the submesh.
|
|
C3D_API void | cleanup (RenderDevice const &device) |
| Cleans the submesh.
|
|
C3D_API void | upload (UploadData &uploader) |
| Uploads data on VRAM.
|
|
virtual C3D_API VkBufferUsageFlags | getUsageFlags () const noexcept |
|
void | needsUpdate () |
|
| SubmeshSubComponent ()=default |
|
| SubmeshSubComponent (SubmeshSubComponent const &)=delete |
|
SubmeshSubComponent & | operator= (SubmeshSubComponent const &)=delete |
|
C3D_API | SubmeshSubComponent (SubmeshSubComponent &&) noexcept=default |
|
C3D_API SubmeshSubComponent & | operator= (SubmeshSubComponent &&) noexcept=default |
|
virtual C3D_API | ~SubmeshSubComponent () noexcept=default |
|