mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-12 07:03:34 +00:00
working on text put pipeline
This commit is contained in:
@@ -36,6 +36,11 @@ namespace mlx
|
||||
_pixel_put_pipeline.setPixel(x, y, color);
|
||||
}
|
||||
|
||||
void GraphicsSupport::stringPut(int x, int y, int color, std::string str)
|
||||
{
|
||||
_text_put_pipeline.put(x, y, color, str);
|
||||
}
|
||||
|
||||
void GraphicsSupport::texturePut(std::shared_ptr<Texture> texture, int x, int y)
|
||||
{
|
||||
_textures_to_render.emplace(texture, x, y);
|
||||
|
||||
Reference in New Issue
Block a user