diff options
| author | Ray <[email protected]> | 2018-01-18 00:23:28 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-01-18 00:23:45 +0100 |
| commit | ce9f191f1b0dee3bc9607e58232a166c10cef9c7 (patch) | |
| tree | 8e994413ce979b7feb21a7bd0f597d4d3955eada /src/raylib.h | |
| parent | bdb61306aca39f8c92e6b5406af348f34171cdd0 (diff) | |
| download | raylib-ce9f191f1b0dee3bc9607e58232a166c10cef9c7.tar.gz raylib-ce9f191f1b0dee3bc9607e58232a166c10cef9c7.zip | |
Added function: ImageMipmaps()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
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) |
