new feature, font loading

This commit is contained in:
Kbz-8
2023-11-23 14:37:42 +01:00
parent c125dde951
commit d6b6dd955c
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);
}
}