emmyleaf / kelp-2d

2D wgpu-based sprite renderer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kelp 🌿

kelp-2d is a dynamically batching sprite renderer. Textures are allocated on an array of atlases, which avoids rebinding resources to the graphics pipeline. This means that all drawing to a given target can be done in a single draw call.

Under the hood, Kelp uses:

  • wgpu, a safe cross-platform graphics api abstraction.
  • guillotière, a dynamic texture atlas allocator.
  • interoptopus, a C# bindings generator.

The intention is to use this as a basis for other game engine projects, such as future versions of Lutra.

Bindings for C# can be found in the directory /kelp-2d-cdylib/bindings.

License

kelp-2d is licensed under the MIT License.

About

2D wgpu-based sprite renderer

License:MIT License


Languages

Language:Rust 93.4%Language:C# 4.8%Language:GLSL 0.9%Language:WGSL 0.9%