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

BindFramebuffer added

This commit is contained in:
JupiterRider 2024-12-06 21:30:13 +01:00
commit d5f5abd210

View file

@ -336,6 +336,10 @@ public static unsafe partial class Rlgl
[DllImport(NativeLibName, EntryPoint = "rlBlitFramebuffer", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlBlitFramebuffer", CallingConvention = CallingConvention.Cdecl)]
public static extern void BlitFramebuffer(); public static extern void BlitFramebuffer();
/// <summary>Bind framebuffer (FBO)</summary>
[DllImport(NativeLibName, EntryPoint = "rlBindFramebuffer", CallingConvention = CallingConvention.Cdecl)]
public static extern void BindFramebuffer(uint target, uint framebuffer);
/// <summary>Activate multiple draw color buffers</summary> /// <summary>Activate multiple draw color buffers</summary>
[DllImport(NativeLibName, EntryPoint = "rlActiveDrawBuffers", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlActiveDrawBuffers", CallingConvention = CallingConvention.Cdecl)]
public static extern void ActiveDrawBuffers(int count); public static extern void ActiveDrawBuffers(int count);