mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-03 16:36:26 +00:00
ADDED NOTE: ImageDraw() does not support f32bit #2222
Added a note for a future improvement
This commit is contained in:
@@ -2769,6 +2769,9 @@ void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color
|
|||||||
// [x] Consider fast path: no alpha blending required cases (src has no alpha)
|
// [x] Consider fast path: no alpha blending required cases (src has no alpha)
|
||||||
// [x] Consider fast path: same src/dst format with no alpha -> direct line copy
|
// [x] Consider fast path: same src/dst format with no alpha -> direct line copy
|
||||||
// [-] GetPixelColor(): Get Vector4 instead of Color, easier for ColorAlphaBlend()
|
// [-] GetPixelColor(): Get Vector4 instead of Color, easier for ColorAlphaBlend()
|
||||||
|
// [ ] Support f32bit channels drawing
|
||||||
|
|
||||||
|
// TODO: Support PIXELFORMAT_UNCOMPRESSED_R32, PIXELFORMAT_UNCOMPRESSED_R32G32B32, PIXELFORMAT_UNCOMPRESSED_R32G32B32A32
|
||||||
|
|
||||||
Color colSrc, colDst, blend;
|
Color colSrc, colDst, blend;
|
||||||
bool blendRequired = true;
|
bool blendRequired = true;
|
||||||
|
Reference in New Issue
Block a user