aboutsummaryrefslogtreecommitdiff
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-09-05 10:08:28 +0200
committerRay <raysan5@gmail.com>2016-09-05 10:08:28 +0200
commit9d66bc4a05f17f5dfe0e81b9be38f044b0dc16d4 (patch)
tree358252bcdd3f71d98ef5fb9c979060977ed8acd4 /src/raylib.h
parenta9ab516dae83d95a8701160bb7dcc72917e2d2ab (diff)
downloadraylib-9d66bc4a05f17f5dfe0e81b9be38f044b0dc16d4.tar.gz
raylib-9d66bc4a05f17f5dfe0e81b9be38f044b0dc16d4.zip
Added function: ImageAlphaMask()
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index d295ef90..d86b1745 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -762,6 +762,7 @@ RLAPI Color *GetImageData(Image image);
RLAPI Image GetTextureData(Texture2D texture); // Get pixel data from GPU texture and return an Image
RLAPI void ImageToPOT(Image *image, Color fillColor); // Convert image to POT (power-of-two)
RLAPI void ImageFormat(Image *image, int newFormat); // Convert image data to desired format
+RLAPI void ImageAlphaMask(Image *image, Image alphaMask); // Apply alpha mask to image
RLAPI void ImageDither(Image *image, int rBpp, int gBpp, int bBpp, int aBpp); // Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
RLAPI Image ImageCopy(Image image); // Create an image duplicate (useful for transformations)
RLAPI void ImageCrop(Image *image, Rectangle crop); // Crop an image to a defined rectangle