Registry / serialization / cgltf
library1.15vcpkgunverified

Single-file glTF 2.0 loader and writer written in C99.

vcpkg install cgltf
INSTALL
IMPORT
SIG · CGLTF
C
cgltf
serializationcppv1.15
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.

cgltf.h
#include <cgltf.h>

Load a glTF 2.0 file and print the number of meshes.

#include "cgltf.h" #include <cstdio> int main() { cgltf_options options = {}; cgltf_data* data = nullptr; cgltf_result result = cgltf_parse_file(&options, "model.gltf", &data); if (result == cgltf_result_success) { printf("Loaded glTF with %zu meshes\n", data->meshes_count); cgltf_free(data); } return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.15latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources

No resource links recorded.