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

ColorMask added

This commit is contained in:
JupiterRider 2024-12-06 21:34:59 +01:00
commit 2b95f4e569

View file

@ -379,6 +379,10 @@ public static unsafe partial class Rlgl
[DllImport(NativeLibName, EntryPoint = "rlDisableBackfaceCulling", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlDisableBackfaceCulling", CallingConvention = CallingConvention.Cdecl)]
public static extern void DisableBackfaceCulling(); public static extern void DisableBackfaceCulling();
/// <summary>Color mask control</summary>
[DllImport(NativeLibName, EntryPoint = "rlColorMask", CallingConvention = CallingConvention.Cdecl)]
public static extern void ColorMask(CBool r, CBool g, CBool b, CBool a);
/// <summary>Set face culling mode</summary> /// <summary>Set face culling mode</summary>
[DllImport(NativeLibName, EntryPoint = "rlSetCullFace", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlSetCullFace", CallingConvention = CallingConvention.Cdecl)]
public static extern void SetCullFace(int mode); public static extern void SetCullFace(int mode);