diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index d31e205..81a40f0 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -1020,6 +1020,14 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetShapesTexture(Texture2D texture, Rectangle source); + // Get texture that is used for shapes drawing + [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern Texture2D GetShapesTexture(); + + // Get texture source rectangle that is used for shapes drawing + [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern Rectangle GetShapesTextureRectangle(); + // Basic shapes drawing functions /// Draw a pixel