|
| | ComponentData (Submesh &submesh, VkBufferUsageFlags bufferUsageFlags) |
| |
| void | copy (SubmeshComponentDataRPtr data) const override |
| | Copies given component's data into this one.
|
| |
| C3D_API void | clearFaces () |
| | Clears this submesh's face array.
|
| |
| C3D_API Face | addFace (uint32_t a, uint32_t b, uint32_t c) |
| | Creates and adds a face to the submesh.
|
| |
| C3D_API void | addFaceGroup (FaceIndices const *const begin, FaceIndices const *const end) |
| | Creates and adds faces to the submesh.
|
| |
| C3D_API void | addQuadFace (uint32_t a, uint32_t b, uint32_t c, uint32_t d, castor::Point3f const &minUV=castor::Point3f(), castor::Point3f const &maxUV=castor::Point3f(1, 1, 1)) |
| | Creates and adds a quad face to the submesh.
|
| |
| void | addFaceGroup (castor::Vector< FaceIndices > const &faces) |
| | Creates and adds faces to the submesh.
|
| |
| template<size_t Count> |
| void | addFaceGroup (castor::Array< FaceIndices, Count > const &faces) |
| | Creates and adds faces to the submesh.
|
| |
| template<uint32_t Count> |
| void | addFaceGroup (FaceIndices(&faces)[Count]) |
| | Creates and adds faces to the submesh.
|
| |
| Face const & | operator[] (uint32_t index) const |
| |
| FaceArray const & | getFaces () const |
| |
| FaceArray & | getFaces () |
| |
| void | setData (FaceArray faces) |
| |
| uint32_t | getCount () const noexcept |
| |
| void | setCount (uint32_t value) |
| |
| bool | hasNormals () const noexcept |
| |
| void | setHasNormals () noexcept |
| |
| | 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 |
| |