diff --git a/Raylib-cs/interop/Rlgl.cs b/Raylib-cs/interop/Rlgl.cs index 39789b7..454272c 100644 --- a/Raylib-cs/interop/Rlgl.cs +++ b/Raylib-cs/interop/Rlgl.cs @@ -328,6 +328,10 @@ public static unsafe partial class Rlgl [DllImport(NativeLibName, EntryPoint = "rlDisableFramebuffer", CallingConvention = CallingConvention.Cdecl)] public static extern void DisableFramebuffer(); + /// Get the currently active render texture (fbo), 0 for default framebuffer + [DllImport(NativeLibName, EntryPoint = "rlGetActiveFramebuffer", CallingConvention = CallingConvention.Cdecl)] + public static extern uint GetActiveFramebuffer(); + /// Blit active framebuffer to main framebuffer [DllImport(NativeLibName, EntryPoint = "rlBlitFramebuffer", CallingConvention = CallingConvention.Cdecl)] public static extern void BlitFramebuffer();