API Reference · Model and texture loading

GltfDiagnosticKind

Namespace: Ava3D

public enum GltfDiagnosticKind

What kind of thing a GltfDiagnostic reports.

Values

ValueDescription
DroppedPrimitive

A mesh primitive was not built: it is not triangles, has no positions, an accessor it needs could not be read, or it is compressed in a way this reader does not decode. GltfDiagnostic.Index is the mesh.

DroppedChannel

An animation channel was not built: its target is not in the scene, its path is not one of the four, or a sampler accessor could not be read. GltfDiagnostic.Index is the animation.

DroppedSkin

A skin was not bound: a joint is outside the loaded scene, its inverse bind matrices could not be read, or a vertex names a joint the skin does not have. The mesh stays in its bind pose. GltfDiagnostic.Index is the skin.

UnresolvedBuffer

A buffer's bytes could not be obtained — an external uri with no resolver, or a resolver that failed. Everything read through it is dropped in turn. GltfDiagnostic.Index is the buffer.

UnresolvedImage

An image's bytes could not be obtained or are not a format this library decodes, so the maps that use it are left off. GltfDiagnostic.Index is the image.

UnsupportedExtension

The file uses an extension this reader does not read. The model still loads; what the extension described is missing from it. GltfDiagnostic.Index is the position in extensionsUsed.

AccessorOutOfRange

An accessor reaches outside its buffer view, or its buffer view outside its buffer. Whatever needed it is dropped, with its own diagnostic. GltfDiagnostic.Index is the accessor.

See also