14 #ifndef vtkGLTFWriterUtils_h
15 #define vtkGLTFWriterUtils_h
17 #include "vtkIOGeometryModule.h"
20 #include <vtk_nlohmannjson.h>
21 #include VTK_NLOHMANN_JSON(json.hpp)
24 VTK_ABI_NAMESPACE_BEGIN
35 bool inlineData, nlohmann::json& buffers, nlohmann::json& bufferViews,
int bufferViewTarget);
37 bool inlineData, nlohmann::json& buffers, nlohmann::json& bufferViews);
45 #define GL_BYTE 0x1400
46 #define GL_UNSIGNED_BYTE 0x1401
47 #define GL_SHORT 0x1402
48 #define GL_UNSIGNED_SHORT 0x1403
50 #define GL_UNSIGNED_INT 0x1405
51 #define GL_FLOAT 0x1406
53 #define GL_CLAMP_TO_EDGE 0x812F
54 #define GL_REPEAT 0x2901
56 #define GL_NEAREST 0x2600
57 #define GL_LINEAR 0x2601
59 #define ARRAY_BUFFER 34962
60 #define ELEMENT_ARRAY_BUFFER 34963
const int GLTF_ELEMENT_ARRAY_BUFFER
abstract superclass for arrays of numeric data
const int GLTF_ARRAY_BUFFER
object to represent cell connectivity
Writes base64-encoded output to a stream.