|
| ComponentData (Submesh &submesh, VkBufferUsageFlags bufferUsageFlags) |
|
void | copy (SubmeshComponentDataRPtr data) const override |
| Copie les données du composant donné dans celui-ci.
|
|
C3D_API void | clearFaces () |
| Vide le tableau de faces.
|
|
C3D_API Face | addFace (uint32_t a, uint32_t b, uint32_t c) |
| Crée et ajoute une face au sous-maillage.
|
|
C3D_API void | addFaceGroup (FaceIndices const *const begin, FaceIndices const *const end) |
| Crée et ajoute des faces au sous-maillage.
|
|
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)) |
| Crée et ajoute une face à 4 côtés au sous-maillage.
|
|
void | addFaceGroup (castor::Vector< FaceIndices > const &faces) |
| Crée et ajoute une face au sous-maillage.
|
|
template<size_t Count> |
void | addFaceGroup (castor::Array< FaceIndices, Count > const &faces) |
| Crée et ajoute une face au sous-maillage.
|
|
template<uint32_t Count> |
void | addFaceGroup (FaceIndices(&faces)[Count]) |
| Crée et ajoute une face au sous-maillage.
|
|
Face const & | operator[] (uint32_t index) const |
|
FaceArray const & | getFaces () const |
|
FaceArray & | getFaces () |
|
void | setData (FaceArray faces) |
|
uint32_t | getCount () const noexcept |
|
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 |
| Récupère les tampons qui doivent aller dans un vertex layout.
|
|
VkBufferUsageFlags | getUsageFlags () const noexcept override |
|
C3D_API | SubmeshComponentData (Submesh &submesh) |
|
C3D_API bool | initialise (RenderDevice const &device) |
| Initialise le sous-maillage.
|
|
C3D_API void | cleanup (RenderDevice const &device) |
| Nettoie le sous-maillage.
|
|
C3D_API void | upload (UploadData &uploader) |
| Met les données en VRAM.
|
|
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 |
|