Watch
2
0
Fork
You've already forked raylib-cs
0

Add ref util for ImageBlurGaussian

This commit is contained in:
Rgebee 2023-05-21 07:32:40 +01:00
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> /// <summary>Crop an image to a defined rectangle</summary>
public static void ImageCrop(ref Image image, Rectangle crop) public static void ImageCrop(ref Image image, Rectangle crop)
{ {