This commit is contained in:
Leonetienne 2022-03-06 19:19:50 +01:00
parent b3d209a9cd
commit f3ec1bca37

View File

@ -49,6 +49,9 @@ bmp.SetPixel(Vector2i(60, 50), 255, 128, 128);
// Set pixel rgba value
bmp.SetPixel(Vector2i(60, 50), 255, 128, 128, 64);
// Set only one specific channel (green=1) of one specific pixel
bmp.GetPixel(Vector2i(60, 50))[1] = 128;
```
##### Get pixel data