|
| void | copy (SubmeshComponentDataRPtr data) const override |
| | Copies given component's data into this one.
|
| |
| C3D_API void | clearLines () |
| | Clears the lines array.
|
| |
| C3D_API Line | addLine (uint32_t a, uint32_t b) |
| | Creates and adds a line to the submesh.
|
| |
| C3D_API void | addLineGroup (LineIndices const *const begin, LineIndices const *const end) |
| | Creates and adds lines to the submesh.
|
| |
| void | addLineGroup (castor::Vector< LineIndices > const &lines) |
| | Creates and adds lines to the submesh.
|
| |
| template<size_t Count> |
| void | addLineGroup (castor::Array< LineIndices, Count > const &lines) |
| | Creates and adds lines to the submesh.
|
| |
| template<uint32_t Count> |
| void | addLineGroup (LineIndices(&lines)[Count]) |
| | Creates and adds lines to the submesh.
|
| |
| Line const & | operator[] (uint32_t index) const |
| | Retrieves the line at given index.
|
| |
| LineArray const & | getFaces () const noexcept |
| |
| LineArray & | getFaces () noexcept |
| |
| uint32_t | getCount () const noexcept |
| |
| void | setCount (uint32_t value) |
| |
| | ComponentData (Submesh &submesh, VkBufferUsageFlags bufferUsageFlags) |
| |
| 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 final |
| | Gathers buffers that need to go in a vertex layout.
|
| |
| VkBufferUsageFlags | getUsageFlags () const noexcept override |
| |
| 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.
|
| |
| void | needsUpdate () noexcept |
| |
| bool | isDirty () const noexcept |
| |
| | 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 |
| |