Crate mod3d_gltf

Crate mod3d_gltf 

Source

Structs§

AccessorIndex
BufferIndex
CameraIndex
Gltf
A Gltf file
GltfAccessor
A Gltf accessor which references a buffer view to provide the data for either indices or an atttribute for a vertex
GltfAsset
GltfBuffer
A buffer description, such as a file path or URI
GltfBufferView
A view onto a buffer (referred to by an index into the Gltf file array of buffers), referencing a subset of the buffer given by an offset and length
GltfImage
GltfMaterial
A type representing a Gltf Material -
GltfMesh
GltfNode
GltfPrimitive
A Gltf primitive, as deserialized from the Gltf Json
GltfScene
A type that contains the data from a Gltf Json ‘Scene’
GltfTexture
A type representing a Gltf Texture -
GltfTextureInfo
A type representing a Gltf Texture Info, which is instantiated in different ways for different aspects of a material, and which refers to a Texture (and TexCoord number)
ImageIndex
MaterialIndex
MeshIndex
NHIndex
NodeIndex
ODAccIndex
ODBufDataIndex
ODBufDescIndex
ODBufIndex
ODImagesIndex
ODMaterialsIndex
ODTexturesIndex
ODVerticesIndex
ObjectData
The type that is used to construct mod3d_base from a Gltf
PrimitiveIndex
SamplerIndex
SceneIndex
SkinIndex
TextureIndex
ViewIndex

Traits§

Indexable
Named

Functions§

buf_parse_fail
Return a result that indicates a failure to parse the URI
glb_load
try_buf_parse_base64
Attempt to parse a URI as a data::base64 octet stream

Type Aliases§

Error
Result