Module dagon.resource.gltf.decoder
GLTF 2.0 decoder.
Description
The dagon module defines the GLTFAsset class
for parsing and managing GLTF 2.0 scenes, meshes, materials,
textures, skins, and animations. The loader supports threaded loading,
base64 and bufferView image decoding, PBR material parsing, node hierarchy,
skinning, and animation channels. The module also provides utility
functions for converting JSON values to Dagon math types, and for querying
loaded GLTF resources by names.
Functions
| Name | Description |
|---|---|
asColor(value)
|
Converts a JSON array value to a Color4f.
|
asMatrix(value)
|
Converts a JSON array value to a Matrix4x4f.
|
asQuaternion(value)
|
Converts a JSON array value to a Quaternionf.
|
asUint(value)
|
Converts a JSON number value to uint. |
asVector(value)
|
Converts a JSON array value to a Vector3f.
|
Classes
| Name | Description |
|---|---|
GLTFAsset
|
Asset class for loading GLTF 2.0 models and querying their resources. |