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

SetVertexAttribute updated

This commit is contained in:
JupiterRider 2024-12-06 21:43:44 +01:00
commit 22146e9d5f

View file

@ -572,6 +572,7 @@ public static unsafe partial class Rlgl
[DllImport(NativeLibName, EntryPoint = "rlUnloadVertexBuffer", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlUnloadVertexBuffer", CallingConvention = CallingConvention.Cdecl)]
public static extern void UnloadVertexBuffer(uint vboId); public static extern void UnloadVertexBuffer(uint vboId);
/// <summary>Set vertex attribute data configuration</summary>
[DllImport(NativeLibName, EntryPoint = "rlSetVertexAttribute", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlSetVertexAttribute", CallingConvention = CallingConvention.Cdecl)]
public static extern void SetVertexAttribute( public static extern void SetVertexAttribute(
uint index, uint index,
@ -579,7 +580,7 @@ public static unsafe partial class Rlgl
int type, int type,
CBool normalized, CBool normalized,
int stride, int stride,
void* pointer int offset
); );
[DllImport(NativeLibName, EntryPoint = "rlSetVertexAttributeDivisor", CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, EntryPoint = "rlSetVertexAttributeDivisor", CallingConvention = CallingConvention.Cdecl)]