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.
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();