MCPcopy Create free account
hub / github.com/LukasBanana/LLGL

github.com/LukasBanana/LLGL @Release-v0.04b

Chat with this repo
repository ↗ · DeepWiki ↗ · release Release-v0.04b ↗ · + Follow
14,679 symbols 30,370 edges 1,184 files 1,220 documented · 8% updated 3d agoRelease-v0.04b · 2025-07-08★ 2,6075 open issues

Browse by type

Functions 12,403 Types & classes 2,276
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Low Level Graphics Library (LLGL)

<a href="https://github.com/LukasBanana/LLGL/blob/master/LICENSE.txt"><img alt="License" src="https://img.shields.io/badge/license-BSD--3%20clause-blue.svg" /></a>
<a href="https://discord.gg/JT4dZ3CgJZ"><img alt="Discord" src="https://img.shields.io/discord/1257440130021457941?logo=discord&logoColor=white"></a?>

Abstract

LLGL aims to be a thin abstraction layer for a wide variety of modern and legacy rendering APIs as well as a multitude of platforms targeting both desktop and mobile. LLGL provides close coupling with the underlying APIs for a rich feature set while also simplifying architectural hurdles. The library is written mostly in C++11 with the addition of a C99, C# 6.0, and Go wrapper.

Documentation

Platform Support

Platform CI D3D12 D3D11 Vulkan OpenGL Metal
Windows

MSVC16+ CI

MSVC14 CI

| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | N/A | | UWP | UWP CI | :heavy_check_mark: | :heavy_check_mark: | N/A | N/A | N/A | | GNU/Linux | GNU/Linux CI | N/A | N/A | :heavy_check_mark: | :heavy_check_mark: | N/A | | macOS | macOS CI | N/A | N/A | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | iOS | iOS CI | N/A | N/A | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | Android | Android CI | N/A | N/A | :construction: | :heavy_check_mark: | N/A | | Wasm | WebAssembly CI | N/A | N/A | N/A | :heavy_check_mark: | N/A | | CMake/Unity | Unity Build CI | | | | | |

Build Notes

Build scripts are provided for CMake. See LLGL Build System for more details.

Windows

Visual Studio 2015 or later is required to build LLGL on Windows. The Windows SDK is also required to build D3D11 and D3D12 backends.

macOS, iOS

Xcode 9 or later is required to build LLGL on macOS and iOS. For older Macs, there is a legacy mode to build LLGL for Mac OS X 10.6 using MacPorts of Clang.

GNU/Linux

LLGL on GNU/Linux requires the development libraries for X11 and its Xrandr extension (see docs for details).

Android

Android NDK with at least API level 21 is required. The build script supports generating project files for Android Studio.

Installing (vcpkg)

Alternatively, you can build and install LLGL using vcpkg dependency manager:

    git clone https://github.com/Microsoft/vcpkg.git
    cd vcpkg
    ./bootstrap-vcpkg.sh
    ./vcpkg integrate install
    ./vcpkg install llgl

The LLGL port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.

Showcase

<img src="https://github.com/LukasBanana/LLGL/raw/Release-v0.04b/examples/Cpp/PostProcessing/Example.png" alt="Screenshot missing: Post processing example" style="width:300px;height:auto;">
<img src="https://github.com/LukasBanana/LLGL/raw/Release-v0.04b/examples/Cpp/ShadowMapping/Example.png" alt="Screenshot missing: Shadow mapping example" style="width:300px;height:auto;">







<img src="https://github.com/LukasBanana/LLGL/raw/Release-v0.04b/examples/Cpp/PBR/Example.png" alt="Screenshot missing: PBR example" style="width:300px;height:auto;">
<img src="https://github.com/LukasBanana/LLGL/raw/Release-v0.04b/examples/Cpp/ClothPhysics/Example.gif" alt="Screenshot missing: Cloth physics example" style="width:300px;height:auto;">







<img src="https://github.com/LukasBanana/LLGL/raw/Release-v0.04b/examples/Cpp/Fonts/Example.iOS.png" alt="Screenshot missing: Fonts example (iOS)" style="height:400px;width:auto;">
<img src="https://github.com/LukasBanana/LLGL/raw/Release-v0.04b/examples/Cpp/ClothPhysics/Example.iOS.png" alt="Screenshot missing: Cloth physics example (iOS)" style="height:400px;width:auto;">

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 6,739
Method 5,664
Class 1,893
Enum 215
Struct 94
TypeAlias 52
Interface 22

Languages

C++57%
TypeScript32%
C#5%
Go4%
Python1%
C1%

Modules by API surface

docu/WebPage/Example_Texturing/Example_Texturing.js582 symbols
docu/WebPage/Example_Animation/Example_Animation.js582 symbols
docu/WebPage/Example_StencilBuffer/Example_StencilBuffer.js580 symbols
docu/WebPage/Example_ShadowMapping/Example_ShadowMapping.js580 symbols
docu/WebPage/Example_RenderTarget/Example_RenderTarget.js580 symbols
docu/WebPage/Example_PostProcessing/Example_PostProcessing.js580 symbols
docu/WebPage/Example_HelloGame/Example_HelloGame.js579 symbols
docu/WebPage/Example_Fonts/Example_Fonts.js578 symbols
wrapper/CSharp/LLGLWrapper.cs507 symbols
external/stb/stb_image.h218 symbols
include/LLGL-C/LLGLWrapper.h126 symbols
wrapper/Go/LLGLWrapper.go125 symbols

For agents

$ claude mcp add LLGL \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page