summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2018-01-18 00:23:28 +0100
committerRay <[email protected]>2018-01-18 00:23:45 +0100
commitce9f191f1b0dee3bc9607e58232a166c10cef9c7 (patch)
tree8e994413ce979b7feb21a7bd0f597d4d3955eada /src/raylib.h
parentbdb61306aca39f8c92e6b5406af348f34171cdd0 (diff)
downloadraylib-ce9f191f1b0dee3bc9607e58232a166c10cef9c7.tar.gz
raylib-ce9f191f1b0dee3bc9607e58232a166c10cef9c7.zip
Added function: ImageMipmaps()
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 2bb04f77..85c035c3 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -886,6 +886,7 @@ RLAPI void ImageAlphaPremultiply(Image *image);
RLAPI void ImageCrop(Image *image, Rectangle crop); // Crop an image to a defined rectangle
RLAPI void ImageResize(Image *image, int newWidth, int newHeight); // Resize and image (bilinear filtering)
RLAPI void ImageResizeNN(Image *image,int newWidth,int newHeight); // Resize and image (Nearest-Neighbor scaling algorithm)
+RLAPI void ImageMipmaps(Image *image); // Generate all mipmap levels for a provided 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 ImageText(const char *text, int fontSize, Color color); // Create an image from text (default font)
RLAPI Image ImageTextEx(SpriteFont font, const char *text, float fontSize, int spacing, Color tint); // Create an image from text (custom sprite font)