REVIEWED: GetPixelColor() const
This commit is contained in:
+1
-1
@@ -1481,7 +1481,7 @@ RLAPI Color ColorAlpha(Color color, float alpha); // G
|
|||||||
RLAPI Color ColorAlphaBlend(Color dst, Color src, Color tint); // Get src alpha-blended into dst color with tint
|
RLAPI Color ColorAlphaBlend(Color dst, Color src, Color tint); // Get src alpha-blended into dst color with tint
|
||||||
RLAPI Color ColorLerp(Color color1, Color color2, float factor); // Get color lerp interpolation between two colors, factor [0.0f..1.0f]
|
RLAPI Color ColorLerp(Color color1, Color color2, float factor); // Get color lerp interpolation between two colors, factor [0.0f..1.0f]
|
||||||
RLAPI Color GetColor(unsigned int hexValue); // Get Color structure from hexadecimal value
|
RLAPI Color GetColor(unsigned int hexValue); // Get Color structure from hexadecimal value
|
||||||
RLAPI Color GetPixelColor(void *srcPtr, int format); // Get Color from a source pixel pointer of certain format
|
RLAPI Color GetPixelColor(const void *srcPtr, int format); // Get Color from a source pixel pointer of certain format
|
||||||
RLAPI void SetPixelColor(void *dstPtr, Color color, int format); // Set color formatted into destination pixel pointer
|
RLAPI void SetPixelColor(void *dstPtr, Color color, int format); // Set color formatted into destination pixel pointer
|
||||||
RLAPI int GetPixelDataSize(int width, int height, int format); // Get pixel data size in bytes for certain format
|
RLAPI int GetPixelDataSize(int width, int height, int format); // Get pixel data size in bytes for certain format
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5180,7 +5180,7 @@ Color GetColor(unsigned int hexValue)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get color from a pixel from certain format
|
// Get color from a pixel from certain format
|
||||||
Color GetPixelColor(void *srcPtr, int format)
|
Color GetPixelColor(const void *srcPtr, int format)
|
||||||
{
|
{
|
||||||
Color color = { 0 };
|
Color color = { 0 };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user