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

ImageKernelConvolution added

This commit is contained in:
JupiterRider 2024-12-06 18:59:50 +01:00
commit 09979569bb
2 changed files with 16 additions and 0 deletions

View file

@ -1568,6 +1568,10 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void ImageBlurGaussian(Image* image, int blurSize);
// <summary>Apply custom square convolution kernel to image</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void ImageKernelConvolution(Image* image, float* kernel, int kernelSize);
/// <summary>Resize image (Bicubic scaling algorithm)</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void ImageResize(Image* image, int newWidth, int newHeight);