Array type enumerator. D type Value[].
Binary type enumerator. D type ubyte[].
Boolean type enumerator. D type bool.
Integer type enumerator. D type int.
Null type enumerator. D type nothing/null.
Double type enumerator. D type double.
String type enumerator. D type string.
A typed view into a buffer view that contains raw binary data.
A keyframe animation.
Holds animation channels. Animations channels are the root of the animation in the model. An animation channel combines an animation sampler with a target property being animated.
An animation sampler combines timestamps with a sequence of output values and defines an interpolation algorithm.
Metadata about the glTF asset.
A buffer points to binary geometry, animation, or skins.
A view into a buffer generally representing a subset of the buffer.
A set of primitives to be rendered. Its global transform is defined by a node that references it.
Model is the container used to store all the decoded JSON data. It loads all the data automatically through it's methods.
A node in the node hierarchy. When the node contains skin, all mesh.primitives MUST contain JOINTS_0 and WEIGHTS_0 attributes. A node MAY have either a matrix or any combination of translation/rotation/scale (TRS) properties. TRS properties are converted to matrices and postmultiplied in the T * R * S order to compose the transformation matrix. First the scale is applied to the vertices, then the rotation, and then the translation. If none are provided, the transform is the identity. When a node is targeted for animation (referenced by an animation.channel.target), matrix MUST NOT be present.
Geometry to be rendered with the given material.
Texture sampler properties for filtering and wrapping modes.
Joints and matrices defining a skin.
Simple class to represent a JSON object.
Enumerators for Values to define which type they are.
GLTF data component type BYTE.
OpenGL double type. Note that some of glTF 2.0 validator does not; support double type even the schema seems allow any value of integer: https://github.com/KhronosGroup/glTF/blob/b9884a2fd45130b4d673dd6c8a706ee21ee5c5f7/specification/2.0/schema/accessor.schema.json#L22
GLTF data component type FLOAT.
GLTF data component type INTEGER.
GLTF data component type SHORT.
GLTF data component type UNSIGNED BYTE.
GLTF data component type UNSIGNED INTEGER.
GLTF data component type UNSIGNED SHORT.
OpenGL rendering mode LINE.
OpenGL rendering mode LINE LOOP.
OpenGL rendering mode LINE STRIP.
OpenGL rendering mode POINTS.
OpenGL rendering mode TRIANGLES.
OpenGL rendering mode TRIANGLE FAN.
OpenGL rendering mode TRIANGLE STRIP.
GLTF Boolean parameter type.
GLTF Boolean Vector 2 parameter type.
GLTF Boolean Vector 3 parameter type.
GLTF Boolean Vector 4 parameter type.
GLTF data component type BYTE.
GLTF data component type FLOAT.
GLTF float Matrix 2x2 parameter type.
GLTF float Matrix 3x3 parameter type.
GLTF float Matrix 4x4 parameter type.
GLTF float Vector 2 parameter type.
GLTF float Vector 3 parameter type.
GLTF float Vector 4 parameter type.
GLTF data component type INTEGER.
GLTF integer Vector 2 parameter type.
GLTF integer Vector 3 parameter type.
GLTF integer Vector 4 parameter type.
GLTF data component type SHORT.
GLTF data component type UNSIGNED BYTE.
GLTF data component type UNSIGNED INTEGER.
GLTF data component type UNSIGNED SHORT.
OpenGL texture filtering mode LINEAR.
OpenGL texture filtering mode LINEAR MIPMAP LINEAR.
OpenGL texture filtering mode LINEAR MIPMAP NEAREST.
OpenGL texture filtering mode NEAREST.
OpenGL texture filtering mode NEAREST MIPMAP LINEAR.
OpenGL texture filtering mode NEAREST MIPMAP NEAREST.
OpenGL texture wrap mode CLAMP TO EDGE.
OpenGL texture wrap mode MIRRORED REPEAT.
OpenGL texture wrap mode REPEAT.
GLTF Matrix 2x2 data type.
GLTF Matrix 3x3 data type.
GLTF Matrix 4x4 data type.
GLTF Matrix data type.
GLTF Scalar data type.
GLTF Vector 2 data type.
GLTF Vector 3 data type.
GLTF Vector 4 data type.
GLTF Vector data type.
TinyGLTF is a library for loading JSON serialized (embedded) GLTF models.