working on text render pipeline

This commit is contained in:
kbz_8
2023-04-08 04:09:25 +02:00
parent 5f16a98d08
commit b4b3bbda54
11 changed files with 8202 additions and 29 deletions

View File

@@ -29,6 +29,7 @@ namespace mlx
{
_textures_to_render.clear();
_pixel_put_pipeline.clear();
_text_put_pipeline.clear();
}
void GraphicsSupport::pixelPut(int x, int y, int color) noexcept
@@ -38,7 +39,7 @@ namespace mlx
void GraphicsSupport::stringPut(int x, int y, int color, std::string str)
{
_text_put_pipeline.put(x, y, color, str);
_text_put_pipeline->put(x, y, color, str);
}
void GraphicsSupport::texturePut(std::shared_ptr<Texture> texture, int x, int y)