Registry / utility / tinygltf

tinygltf

JSON →
library2.9.7vcpkgunverified

A header-only C++11 glTF 2.0 library for loading and saving glTF models.

vcpkg install tinygltf
INSTALL
IMPORT
SIG · TINYGLTF
T
tinygltf
utilitycppv2.9.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tiny_gltf.h
#include <tiny_gltf.h>

Load a glTF 2.0 model from file.

#include <tiny_gltf.h> #include <iostream> int main() { tinygltf::Model model; tinygltf::TinyGLTF loader; std::string err, warn; bool ret = loader.LoadASCIIFromFile(&model, &err, &warn, "model.gltf"); if (!warn.empty()) std::cout << "Warning: " << warn << std::endl; if (!err.empty()) std::cerr << "Error: " << err << std::endl; if (!ret) return 1; std::cout << "Loaded glTF model with " << model.meshes.size() << " meshes." << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.9.7latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources

No resource links recorded.

tinygltf — pip install tinygltf · libregistry