|
| C3D_API | TriFaceMapping (Submesh &submesh, VkBufferUsageFlags bufferUsageFlags={}) |
| | Constructor.
|
| |
| C3D_API void | computeFacesFromPolygonVertex () |
| | Creates faces from the points.
|
| |
| C3D_API void | computeNormals (castor::Point3fArray const &positions, castor::Point3fArray &normals, bool reverted=false) const |
| | Computes normal for each vertex of the given face.
|
| |
| C3D_API void | computeTangentsFromNormals (castor::Point3fArray const &positions, castor::Point3fArray const &texcoords, castor::Point3fArray const &normals, castor::Point4fArray &tangents) const |
| | Computes tangent for each vertex of the submesh.
|
| |
| C3D_API uint32_t | getCount () const override |
| |
| C3D_API void | setCount (uint32_t value) override |
| | Sets the elements count.
|
| |
| C3D_API uint32_t | getComponentsCount () const override |
| |
| C3D_API void | computeNormals (bool reverted=false) override |
| | Generates normals.
|
| |
| C3D_API void | computeTangents () override |
| | Generates tangents.
|
| |
| C3D_API SubmeshComponentUPtr | clone (Submesh &submesh) const override |
| | Clones this component into given submesh.
|
| |
| ComponentData & | getData () const noexcept |
| |
| C3D_API | IndexMapping (Submesh &submesh, castor::String const &type, SubmeshComponentDataUPtr data) |
| | Constructor.
|
| |
| C3D_API | SubmeshComponent (Submesh &submesh, castor::String const &type, SubmeshComponentDataUPtr data={}, castor::StringArray deps={}) |
| | Constructor.
|
| |
| virtual C3D_API | ~SubmeshComponent () noexcept=default |
| | Destructor.
|
| |
| virtual C3D_API bool | writeText (castor::String const &tabs, castor::Path const &folder, castor::String const &subfolder, castor::StringStream &file) const |
| | Writes the component content to text.
|
| |
| virtual C3D_API void | accept (ConfigurationVisitorBase &vis) |
| | ConfigurationVisitorBase acceptance function.
|
| |
| virtual C3D_API SubmeshComponentFlag | getSubmeshFlags () const noexcept |
| |
| virtual C3D_API ProgramFlags | getProgramFlags (Pass const &pass) const noexcept |
| |
| C3D_API void | initialiseRenderData () |
| | Initialises the render data specific for this component's submesh.
|
| |
| castor::String const & | getType () const noexcept |
| |
| castor::StringArray const & | getDependencies () const noexcept |
| |
| SubmeshComponentPlugin const & | getPlugin () const noexcept |
| |
| SubmeshComponentID | getId () const noexcept |
| |
| SubmeshComponentDataRPtr | getBaseData () const noexcept |
| |
| SubmeshRenderData * | getRenderData () const noexcept |
| |
| template<typename DataT > |
| DataT * | getDataT () const noexcept |
| |
| template<typename DataT > |
| DataT * | getRenderDataT () const noexcept |
| |
| Submesh * | getOwner () const noexcept |
| |
| void | setOwner (Submesh &owner) noexcept |
| |