2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-04-03 11:09:40 -04:00

Add ref util for ImageBlurGaussian

This commit is contained in:
ChrisDill 2023-05-21 07:32:40 +01:00
parent c4aa6196ea
commit af1c85ab04

View File

@ -329,6 +329,15 @@ namespace Raylib_cs
}
}
/// <summary>Apply Gaussian blur using a box blur approximation</summary>
public static void ImageBlurGaussian(ref Image image, int blurSize)
{
fixed (Image* p = &image)
{
ImageBlurGaussian(p, blurSize);
}
}
/// <summary>Crop an image to a defined rectangle</summary>
public static void ImageCrop(ref Image image, Rectangle crop)
{