fastgltf

A modern C++17 glTF 2.0 library focused on speed, correctness, and usability

Latest version: 0.9.0

Add to xmake.lua

add_requires("fastgltf 0.9.0")

Learn how to add and link packages with Xmake →

Information

License
MIT
Recipe updated
2026-07-24T12:56:24.000Z

Platforms

  • linux: x86_64, arm64
  • macosx: x86_64, arm64
  • mingw: x86_64
  • windows: x64

Options

cxx_standard
Select c++ standard to build. · Type: string · Default: 17 · Values: 17, 20
f64
Default to 64-bit double precision floats for everything · Type: boolean · Default: false
memory_pool
Disables the memory allocation algorithm based on polymorphic resources · Type: boolean · Default: false
shared
Build shared library. · Type: boolean · Default: false
small_vector
Uses a custom SmallVector type optimised for small arrays · Type: boolean · Default: false

Versions

  • v0.7.1
  • v0.7.2
  • v0.8.0
  • v0.9.0

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "fastgltf 0.9.0"

show info

xrepo info "fastgltf"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("fastgltf 0.9.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("fastgltf")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "fastgltf 0.9.0" shell