diff --git a/Raylib-cs/interop/Rlgl.cs b/Raylib-cs/interop/Rlgl.cs
index 8e49be1..4f586d9 100644
--- a/Raylib-cs/interop/Rlgl.cs
+++ b/Raylib-cs/interop/Rlgl.cs
@@ -466,6 +466,10 @@ namespace Raylib_cs
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void rlUpdateVertexBuffer(uint bufferId, void* data, int dataSize, int offset);
+ /// Update vertex buffer elements with new data
+ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
+ public static extern void rlUpdateVertexBufferElements(uint id, void* data, int dataSize, int offset);
+
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void rlUnloadVertexArray(uint vaoId);
@@ -596,9 +600,9 @@ namespace Raylib_cs
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void rlSetUniformSampler(int locIndex, uint textureId);
- /// Set shader currently active
+ /// Set shader currently active (id and locations)
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern void rlSetShader(Shader shader);
+ public static extern void rlSetShader(uint id, int* locs);
// Compute shader management
@@ -621,7 +625,7 @@ namespace Raylib_cs
/// Update SSBO buffer data
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern void rlUpdateShaderBufferElements(Shader shader);
+ public static extern void rlUpdateShaderBufferElements(uint id, void* data, ulong dataSize, ulong offset);
/// Get SSBO buffer size
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]