new feature, font loading

This commit is contained in:
2023-11-23 14:37:42 +01:00
parent 9f869d93e2
commit d5a8b96be8
12 changed files with 127 additions and 15 deletions

View File

@@ -46,4 +46,9 @@ namespace mlx
{
_textures_to_render.emplace(texture, x, y);
}
void GraphicsSupport::loadFont(const std::filesystem::path& filepath, float scale)
{
_text_put_pipeline->loadFont(filepath, scale);
}
}