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

Static Public Member Functions | |
| static Index * | Create (GLTF *gltf, unsigned int count, const unsigned short *indices, Buffer *buffer=0) |
Detailed Description
The element data is found in the attributes appended to the primitives. Every primitive requires an index. The indices define how the attributes are rendered.
- Examples
- Test002.cpp, Test005.cpp, Test008.cpp, Test010.cpp, Test013.cpp, and Test014.cpp.
Definition at line 28 of file GLTFIndex.h.
Constructor & Destructor Documentation
◆ ~Index()
|
inlineprotectedvirtual |
Definition at line 31 of file GLTFIndex.h.
Member Function Documentation
◆ Create()
|
static |
Creates a set of indices that define the renderable elements.
- Returns
- Index object. Do not delete this pointer.
The documentation for this class was generated from the following file:
- D:/ANSYSDev/Product-src/webgl_viewer/gltfwriterlib/include/GLTFIndex.h