{"id":61631,"library":"gli","title":"GLI","description":"OpenGL Image (GLI)","status":"active","version":"2021-07-06","language":"cpp","source_language":null,"source_url":null,"tags":["opengl","image","texture","graphics"],"install":[{"cmd":"vcpkg install gli","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(gli CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE gli::gli)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"gli/gli.hpp","correct":"#include <gli/gli.hpp>"}],"quickstart":{"code":"#include <gli/gli.hpp>\n\nint main() {\n    gli::texture2d tex(gli::FORMAT_RGBA8_UNORM_PACK8, gli::extent2d(256, 256));\n    return 0;\n}","lang":"cpp","description":"Create a 2D texture with RGBA format"},"warnings":[{"fix":"Include OpenGL headers before gli headers or use GLEW/glad","message":"Header-only library; requires OpenGL headers and a compatible GPU driver for runtime use","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'gli':1,4 'graphic':8 'imag':3,6 'opengl':2,5 'textur':7","created_at":"2026-06-17T04:58:51.314385+00:00","updated_at":"2026-06-17T04:58:51.314385+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":["other"],"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}}