{"id":61644,"library":"cgltf","title":"cgltf","description":"Single-file glTF 2.0 loader and writer written in C99.","status":"active","version":"1.15","language":"cpp","source_language":null,"source_url":null,"tags":["gltf","3d","loader","writer","c99"],"install":[{"cmd":"vcpkg install cgltf","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(cgltf CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE cgltf::cgltf)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"cgltf.h","correct":"#include <cgltf.h>"}],"quickstart":{"code":"#include \"cgltf.h\"\n#include <cstdio>\n\nint main() {\n    cgltf_options options = {};\n    cgltf_data* data = nullptr;\n    cgltf_result result = cgltf_parse_file(&options, \"model.gltf\", &data);\n    if (result == cgltf_result_success) {\n        printf(\"Loaded glTF with %zu meshes\\n\", data->meshes_count);\n        cgltf_free(data);\n    }\n    return 0;\n}","lang":"cpp","description":"Load a glTF 2.0 file and print the number of meshes."},"warnings":[],"env_vars":null,"search_vec":"'2.0':6 '3d':14 'c99':12,17 'cgltf':1 'file':4 'gltf':5,13 'loader':7,15 'singl':3 'single-fil':2 'writer':9,16 'written':10","created_at":"2026-06-17T04:59:42.099099+00:00","updated_at":"2026-06-17T04:59:42.099099+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}