awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
cococry avatar

cococry/leif

0
View on GitHub↗
1,035 stars·46 forks·C·14 views

Leif

Leif is an OpenGL-backed immediate mode graphical user interface library and graphics rendering framework. It provides a lightweight control flow where layouts and components are rebuilt every frame without retaining an internal scene graph, backed by hardware-accelerated graphics.

The framework utilizes GPU-accelerated batch rendering to draw high volumes of primitives efficiently by grouping geometry into single vertex buffers. Developers can bypass standard rendering wrappers to access the underlying renderer directly, drawing raw graphics and custom geometry alongside standard interface components.

Additional capabilities include event-driven input polling for capturing operating system mouse and keyboard states, and a stateless property modification system for dynamically configuring visual attributes each frame. The architecture exposes internal component data and rendering pipelines directly, allowing custom elements to be built client-side.

Features

  • Batch Rendering - Utilizes GPU-accelerated batch rendering to draw high volumes of primitives efficiently by grouping geometry into single vertex buffers.
  • Immediate Mode UI Libraries - Provides an OpenGL-backed immediate mode graphical user interface library for rendering interactive windows and widgets.
  • C++ Rendering Libraries - Provides a low-level visual component library in C++ offering direct access to underlying rendering contexts and custom batch graphics.
  • Custom Graphics Rendering - Utilizes an exposed batch rendering system to draw non-interface custom graphics alongside standard graphical elements.
  • Custom Renderable Interfaces - Enables building custom UI elements client-side by accessing the exposed internal state and rendering pipeline directly.
  • Graphics Rendering APIs - Allows developers to bypass standard rendering wrappers and interact with the underlying graphics API directly.
  • OpenGL Canvas Rendering - Builds custom graphical user interfaces powered by modern OpenGL with high-performance batch rendering and direct hardware acceleration.
  • Render Loop Execution - Manages graphical interface updates between initialization calls and execution boundaries within the main application loop.
  • Direct Block Access - Bypasses standard abstraction layers to let developers draw raw graphics and custom geometry directly using the underlying renderer.
  • GPU-Accelerated UI Rendering - Acts as a high-performance interface rendering framework that offloads drawing operations directly to the graphics processing unit.
  • Immediate Mode UI Frameworks - Rebuilds layouts and renders user interface components every frame without retaining an internal scene graph.
  • Window Initialization Routines - Creates graphical application windows backed by hardware-accelerated rendering contexts for drawing interactive elements.
  • Component Property Interfaces - Changes the appearance and property values of individual interface components through a flexible property system.
  • Input Event Polling - Captures operating system mouse and keyboard states via event-driven polling during the main application loop.
  • Interface Appearance Customizations - Updates the visual appearance of individual elements using a property system that controls every visible attribute.
  • Input State Monitors - Monitors keyboard and mouse states through a built-in input handling subsystem to drive interactive application logic.
  • Styled Properties - Configures visual attributes and element appearances dynamically through a lightweight property modification system executed each frame.
  • User Input Processing - Processes mouse movements, clicks, and keyboard strokes from the operating system to drive interactive application states.

Star history

Star history chart for cococry/leifStar history chart for cococry/leif

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does cococry/leif do?

Leif is an OpenGL-backed immediate mode graphical user interface library and graphics rendering framework. It provides a lightweight control flow where layouts and components are rebuilt every frame without retaining an internal scene graph, backed by hardware-accelerated graphics.

What are the main features of cococry/leif?

The main features of cococry/leif are: Batch Rendering, Immediate Mode UI Libraries, C++ Rendering Libraries, Custom Graphics Rendering, Custom Renderable Interfaces, Graphics Rendering APIs, OpenGL Canvas Rendering, Render Loop Execution.

Which projects share features with cococry/leif?

Projects with overlapping indexed features include: nicbarker/clay — Clay is a header-only layout engine designed for C and C++ applications that computes element positions and dimensions… microsoft/directxtk — DirectXTK is a C++ library designed to simplify 2D and 3D graphics, audio, and input programming for DirectX… imgui-rs/imgui-rs — This project provides Rust bindings for the Dear ImGui library, enabling the creation of high-performance graphical… floooh/sokol — Sokol is a C hardware abstraction layer and cross-platform graphics library designed for managing windowing, input,… libgdx/libgdx — LibGDX is a Java-based framework designed for cross-platform game development, enabling the creation and deployment of… thisisgame/cpp-game-engine-book — This project is a comprehensive educational resource for building a high-performance game engine from the ground up…

Curated searches featuring Leif

Hand-picked collections where Leif appears.
  • Immediate mode rendering

Projects sharing features with Leif

These projects share indexed features with Leif. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • nicbarker/claynicbarker avatar

    nicbarker/clay

    17,443View on GitHub↗

    Clay is a header-only layout engine designed for C and C++ applications that computes element positions and dimensions using a declarative box model. By operating as an immediate-mode framework, it calculates interface geometry dynamically on every frame, allowing for the creation of responsive and fluid user interfaces without maintaining persistent state. The library functions as a platform-agnostic tool that decouples layout logic from specific graphics backends. It provides a flexible coordinate system that supports layered elements, such as modals and tooltips, alongside standard documen

    Clayoutui
    View on GitHub↗17,443
  • microsoft/directxtkmicrosoft avatar

    microsoft/DirectXTK

    2,781View on GitHub↗

    DirectXTK is a C++ library designed to simplify 2D and 3D graphics, audio, and input programming for DirectX applications. It serves as a comprehensive toolkit providing high-level wrappers for DirectX graphics, audio management, and input handling. The toolkit includes a graphics wrapper for loading textures and rendering 3D models and 2D sprites, alongside a dedicated audio manager for sound effects and 3D spatial audio. It also provides an input handler to track and process state updates from keyboards, mice, and gamepads. The library covers a broad capability surface including 3D math an

    C++cpp-librarydesktopdirectx
    View on GitHub↗2,781
  • imgui-rs/imgui-rsimgui-rs avatar

    imgui-rs/imgui-rs

    3,019View on GitHub↗

    This project provides Rust bindings for the Dear ImGui library, enabling the creation of high-performance graphical user interfaces using an immediate-mode paradigm. By defining interface elements directly within the application render loop, it eliminates the need for persistent object hierarchies, allowing for rapid prototyping and dynamic visual updates. The library distinguishes itself by wrapping complex native function signatures in type-safe builders, which improves developer ergonomics while maintaining the performance characteristics of the underlying C++ implementation. It utilizes a

    Rustguiimguirust
    View on GitHub↗3,019
  • floooh/sokolfloooh avatar

    floooh/sokol

    9,620View on GitHub↗

    Sokol is a C hardware abstraction layer and cross-platform graphics library designed for managing windowing, input, and audio across different operating systems. It functions as a GPU resource manager and multimedia application framework, providing a unified API for rendering 2D and 3D graphics across WebGL, Metal, Direct3D, and OpenGL. The project is distinguished by its single-header implementation, which simplifies integration and portability. It utilizes a stateless render pass definition and a one-update-per-frame model to synchronize CPU data to GPU memory and manage resource lifecycles

    C
    View on GitHub↗9,620
  • Compare all 30 related projects→