|
C3D_API | MeshletComponent (Submesh &submesh) |
| Constructeur.
|
|
C3D_API void | gather (PipelineFlags const &flags, MaterialObs material, ashes::BufferCRefArray &buffers, std::vector< uint64_t > &offsets, ashes::PipelineVertexInputStateCreateInfoCRefArray &layouts, uint32_t ¤tBinding, uint32_t ¤tLocation) override |
| Récupère les tampons qui doivent aller dans un vertex layout.
|
|
C3D_API SubmeshComponentUPtr | clone (Submesh &submesh) const override |
|
C3D_API ProgramFlags | getProgramFlags (Material const &material) const override |
|
C3D_API void | createDescriptorSet (Geometry const &geometry) |
|
C3D_API ashes::DescriptorSet const & | getDescriptorSet (Geometry const &geometry) const |
|
C3D_API void | instantiate (Geometry const &geometry) |
|
C3D_API GpuBufferOffsetT< MeshletCullData > const & | getFinalCullBuffer (Geometry const &geometry) const |
|
GpuBufferOffsetT< Meshlet > const & | getMeshletsBuffer () const |
|
ashes::DescriptorSetLayout const & | getDescriptorLayout () const |
|
std::vector< Meshlet > const & | getMeshletsData () const |
|
std::vector< Meshlet > & | getMeshletsData () |
|
std::vector< MeshletCullData > & | getCullData () |
|
uint32_t | getMeshletsCount () const |
|
GpuBufferOffsetT< MeshletCullData > const & | getSourceCullBuffer () const |
|
C3D_API | SubmeshComponent (Submesh &submesh, castor::String const &type, uint32_t id) |
| Constructeur.
|
|
virtual C3D_API | ~SubmeshComponent () noexcept=default |
| Destructeur.
|
|
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 () |
| Met les données en VRAM.
|
|
virtual C3D_API void | gather (PipelineFlags const &flags, MaterialObs material, ashes::BufferCRefArray &buffers, std::vector< uint64_t > &offsets, ashes::PipelineVertexInputStateCreateInfoCRefArray &layouts, uint32_t ¤tBinding, uint32_t ¤tLocation)=0 |
| Récupère les tampons qui doivent aller dans un vertex layout.
|
|
virtual C3D_API ProgramFlags | getProgramFlags (Material const &material) const |
|
virtual C3D_API SubmeshFlags | getSubmeshFlags (Pass const *pass) const |
|
virtual C3D_API VkBufferUsageFlags | getUsageFlags () const |
|
virtual C3D_API SubmeshComponentUPtr | clone (Submesh &submesh) const =0 |
|
castor::String const & | getType () const |
|
void | needsUpdate () |
| Dit que le composant doit être mis à jour.
|
|
uint32_t | getID () |
|