Added mlx_set_image_rectangle

This commit is contained in:
Daemo
2026-08-10 16:02:24 +02:00
parent 1e27c05789
commit f1c7f8ab27
4 changed files with 52 additions and 1 deletions
+1
View File
@@ -86,6 +86,7 @@ namespace mlx
void SetPixel(int x, int y, mlx_color color) noexcept;
void SetRegion(int x, int y, int w, int h, mlx_color* color) noexcept;
void SetLinearRegion(int x, int y, std::size_t len, mlx_color* color) noexcept;
void SetRectangle(int x, int y, int w, int h, mlx_color color) noexcept;
mlx_color GetPixel(int x, int y) noexcept;
void GetRegion(int x, int y, int w, int h, mlx_color* dst) noexcept;
void Clear(VkCommandBuffer cmd, Vec4f color) override;