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

SetUniformMatrices added

This commit is contained in:
JupiterRider 2024-12-06 21:56:00 +01:00
commit a172928501

View file

@ -724,6 +724,10 @@ public static unsafe partial class Rlgl
[DllImport(NativeLibName, EntryPoint = "rlSetUniformMatrix", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlSetUniformMatrix", CallingConvention = CallingConvention.Cdecl)]
public static extern void SetUniformMatrix(int locIndex, Matrix4x4 mat); public static extern void SetUniformMatrix(int locIndex, Matrix4x4 mat);
/// <summary>Set shader value matrices</summary>
[DllImport(NativeLibName, EntryPoint = "rlSetUniformMatrices", CallingConvention = CallingConvention.Cdecl)]
public static extern void SetUniformMatrices(int locIndex, Matrix4x4* mat, int count);
/// <summary>Set shader value sampler</summary> /// <summary>Set shader value sampler</summary>
[DllImport(NativeLibName, EntryPoint = "rlSetUniformSampler", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlSetUniformSampler", CallingConvention = CallingConvention.Cdecl)]
public static extern void SetUniformSampler(int locIndex, uint textureId); public static extern void SetUniformSampler(int locIndex, uint textureId);