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

GetActiveFramebuffer added

This commit is contained in:
JupiterRider 2024-12-06 21:29:07 +01:00
commit 41a6f1b02e

View file

@ -328,6 +328,10 @@ public static unsafe partial class Rlgl
[DllImport(NativeLibName, EntryPoint = "rlDisableFramebuffer", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlDisableFramebuffer", CallingConvention = CallingConvention.Cdecl)]
public static extern void DisableFramebuffer(); public static extern void DisableFramebuffer();
/// <summary>Get the currently active render texture (fbo), 0 for default framebuffer</summary>
[DllImport(NativeLibName, EntryPoint = "rlGetActiveFramebuffer", CallingConvention = CallingConvention.Cdecl)]
public static extern uint GetActiveFramebuffer();
/// <summary>Blit active framebuffer to main framebuffer</summary> /// <summary>Blit active framebuffer to main framebuffer</summary>
[DllImport(NativeLibName, EntryPoint = "rlBlitFramebuffer", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlBlitFramebuffer", CallingConvention = CallingConvention.Cdecl)]
public static extern void BlitFramebuffer(); public static extern void BlitFramebuffer();