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:
parent
c4aa6196ea
commit
af1c85ab04
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user