ANSYS::AVZ::GLTFWriter::Mesh Class Reference
Last update: 16.07.2025#include <GLTFWriter.h>
Inheritance diagram for ANSYS::AVZ::GLTFWriter::Mesh:

Public Member Functions | |
| virtual Mesh * | Mirror ()=0 |
| virtual bool | AppendPrimitive (Primitive *primitive)=0 |
| virtual unsigned int | NumPrimitives () const =0 |
Static Public Member Functions | |
| static Mesh * | Create (GLTF *gltf) |
Detailed Description
Meshes are required for all renderable objects.
- Examples
- Test001.cpp, Test002.cpp, Test003.cpp, Test004.cpp, Test005.cpp, Test006.cpp, Test007.cpp, Test008.cpp, Test009.cpp, Test010.cpp, Test011.cpp, Test012.cpp, Test013.cpp, and Test014.cpp.
Definition at line 103 of file GLTFMesh.h.
Constructor & Destructor Documentation
◆ ~Mesh()
|
inlineprotectedvirtual |
Definition at line 106 of file GLTFMesh.h.
Member Function Documentation
◆ AppendPrimitive()
|
pure virtual |
Appends a primitive object to a mesh. Primitives contain the renderable data of the mesh.
- Parameters
-
[in] primitive Primitive object.
- Examples
- Test001.cpp, Test002.cpp, Test003.cpp, Test004.cpp, Test005.cpp, Test006.cpp, Test007.cpp, Test008.cpp, Test009.cpp, Test010.cpp, Test011.cpp, Test012.cpp, Test013.cpp, and Test014.cpp.
◆ Create()
◆ Mirror()
|
pure virtual |
◆ NumPrimitives()
|
pure virtual |
Returns number of primitives in mesh.
- Returns
- Number of primitives.
The documentation for this class was generated from the following file:
- D:/ANSYSDev/Product-src/webgl_viewer/gltfwriterlib/include/GLTFMesh.h