mischief-render: Rendering for the Mischief game engine.

[ bsd3, library, program, unclassified ] [ Propose Tags ] [ Report a vulnerability ]

This library provides both low and high-level rendering tools for Mischief. It also comes with WGPU bindings, an Animation system, and a few pre-defined Materials.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies async (>=2.2.6 && <2.3), base (>=4.21.0.0 && <4.22), binary (>=0.8.9 && <0.9), bytestring (>=0.12.2 && <0.13), containers (>=0.7 && <0.8), data-default (>=0.8.0 && <0.9), JuicyPixels (>=3.3.9 && <3.4), JuicyPixels-extra (>=0.6.0 && <0.7), kdl-hs (>=1.2.1 && <1.3), linear (>=1.23.3 && <1.24), mischief-assets (>=0.1.0 && <0.2), mischief-ecs (>=0.2.1 && <0.3), mischief-input, mischief-math (>=0.1.0 && <0.2), mischief-render, mischief-sdl (>=0.1.0 && <0.2), mtl (>=2.3.1 && <2.4), primitive (>=0.9.1 && <0.10), sdl3-bindgen-sys (>=0.0.1 && <0.1), singletons (>=3.0.4 && <3.1), singletons-base (>=3.5 && <3.6), singletons-th (>=3.5 && <3.6), stm (>=2.5.3 && <2.6), template-haskell (>=2.23.0 && <2.24), text (>=2.1.2 && <2.2), time (>=1.14 && <1.15), transformers (>=0.6.1 && <0.7), vector (>=0.13.2 && <0.14) [details]
License BSD-3-Clause
Author Damon
Maintainer pvdoriginal2019@gmail.com
Uploaded by Damon at 2026-11-14T23:18:16Z
Home page https://codeberg.org/mischief/mischief
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables example-transform, example-start, example-ysort, example-postprocess, example-animation
Downloads 2 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for mischief-render-0.1.0.0

[back to package description]

mischief-render

This library adds rendering (via WGPU) to Mischief. It lets you write low-level shader code directly in Haskell monads and seamlessly bind GPU data and run custom materials. It also provides built-in API for Cameras, Sprites and Animations.

This library lives in the official repo and is considered a "core library" of the ecosystem.

To contribute, you can file issues, such as bug reports and feature requests, in the official repository. You can also join the official server on discord to be kept up to date with updates and chat with the rest of the community. Link in the aforementioned repo.

You can go through the official rendering book at the Mischief.Render module above.

Disclaimer

The API is mostly limited to 2D (although 3D is possible and will be supported oficially in the future).

Many performance optimizations and features have been intentionally ommitted for now. The plan is to have a small stable core that will be expanded over time.