Skip to content

tizilogic/krass

Repository files navigation

clang-format Check Linux (OpenGL) Windows (Direct3D 11)

krass - Single texture runtime asset packer for krink

Library to pack assets such as fonts and images into a single texture at runtime with the goal to avoid pipeline switching and optimize batched rendering in krink apps.

To use krass in a krink project

Add this repo as submodule to your project (or simply copy the contents) and add this to your kfile.js:

// needed to not add "krink" as subproject when evaluating the kfile from krass
global.noKrinkPlease = true;

// Assumes your project var is called "project"
let krass = await project.addProject('path/to/krass');
krass.useAsLibrary();

About

Single texture runtime asset packer for krink

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages