Internal class for vtkGLTFDocumentLoader.
More...
#include <vtkGLTFDocumentLoaderInternals.h>
|
| | vtkGLTFDocumentLoaderInternals ()=default |
| |
| bool | LoadModelMetaData (bool quiet, bool &binary, std::vector< std::string > &extensionsUsedByLoader) |
| | Reset internal Model struct, and serialize glTF metadata (all json information) into it.
|
| |
| bool | LoadBuffers (bool firstBufferIsGLB) |
| | Reads the model's buffer metadata, then uses it to load all buffers into the model.
|
| |
Internal class for vtkGLTFDocumentLoader.
This class provides json-related methods for vtkGLTFDocumentLoader
Definition at line 23 of file vtkGLTFDocumentLoaderInternals.h.
◆ vtkGLTFDocumentLoaderInternals()
| vtkGLTFDocumentLoaderInternals::vtkGLTFDocumentLoaderInternals |
( |
| ) |
|
|
default |
◆ LoadModelMetaData()
| bool vtkGLTFDocumentLoaderInternals::LoadModelMetaData |
( |
bool | quiet, |
|
|
bool & | binary, |
|
|
std::vector< std::string > & | extensionsUsedByLoader ) |
Reset internal Model struct, and serialize glTF metadata (all json information) into it.
Set quiet to true to avoid displaying errors. This method will set binary to true if file is binary, set to false otherwise. Fill usedExtensions vector with the list of used and supported extensions in the glTF file. To load buffers, use LoadModelData Return true on success, false otherwise.
◆ LoadBuffers()
| bool vtkGLTFDocumentLoaderInternals::LoadBuffers |
( |
bool | firstBufferIsGLB | ) |
|
Reads the model's buffer metadata, then uses it to load all buffers into the model.
◆ Self
◆ GL_POINTS
| const unsigned short vtkGLTFDocumentLoaderInternals::GL_POINTS = 0x0000 |
|
static |
◆ GL_LINES
| const unsigned short vtkGLTFDocumentLoaderInternals::GL_LINES = 0x0001 |
|
static |
◆ GL_LINE_LOOP
| const unsigned short vtkGLTFDocumentLoaderInternals::GL_LINE_LOOP = 0x0002 |
|
static |
◆ GL_LINE_STRIP
| const unsigned short vtkGLTFDocumentLoaderInternals::GL_LINE_STRIP = 0x0003 |
|
static |
◆ GL_TRIANGLES
| const unsigned short vtkGLTFDocumentLoaderInternals::GL_TRIANGLES = 0x0004 |
|
static |
◆ GL_TRIANGLE_STRIP
| const unsigned short vtkGLTFDocumentLoaderInternals::GL_TRIANGLE_STRIP = 0x0005 |
|
static |
◆ GL_TRIANGLE_FAN
| const unsigned short vtkGLTFDocumentLoaderInternals::GL_TRIANGLE_FAN = 0x0006 |
|
static |
The documentation for this class was generated from the following file: