gltfx 0.1.0 copy "gltfx: ^0.1.0" to clipboard
gltfx: ^0.1.0 copied to clipboard

glTF 2.0 parser for Dart.

gltfx #

glTF 2.0 parser for Dart.

import 'package:gltfx/gltfx.dart';

// Header only (sync, no resource loading)
final header = Gltf.parseHeader(jsonString);

// Full parse (async, resolves external resources)
final doc = await Gltf.parse(jsonString, loader: (uri) => readFile(uri));

// GLB
final doc = Glb.parse(glbBytes);

Extensions #

Supports KHR and EXT extensions including PBR materials (clearcoat, sheen, transmission, volume, IOR, iridescence, specular, anisotropy, emissive strength, diffuse transmission, dispersion, unlit, variants), lights, texture transforms, mesh quantization, meshopt compression, Draco, basis textures, GPU instancing, animations, and more.

0
likes
140
points
177
downloads

Documentation

API reference

Publisher

verified publisherdartgfx.dev

Weekly Downloads

glTF 2.0 parser for Dart.

Repository (GitHub)
View/report issues

Topics

#gltf #three-d #graphics

License

MIT (license)

Dependencies

gpu_types

More

Packages that depend on gltfx