diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs
index 6268319..68668d8 100644
--- a/Raylib-cs/interop/Raylib.cs
+++ b/Raylib-cs/interop/Raylib.cs
@@ -1096,7 +1096,7 @@ public static unsafe partial class Raylib
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial int GetCharPressed();
- /// Get gamepad internal name id
+ /// Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)
[LibraryImport(NativeLibName)]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial sbyte* GetKeyName(KeyboardKey key);
@@ -3328,7 +3328,7 @@ public static unsafe partial class Raylib
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void UpdateModelAnimation(Model model, ModelAnimation anim, float frame);
- /// // Update model animation pose, blending two animations
+ /// Update model animation pose, blending two animations
[LibraryImport(NativeLibName)]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void UpdateModelAnimationEx(Model model, ModelAnimation anim, float frame, ModelAnimation animB, float frameB, float blend);
diff --git a/Raylib-cs/interop/Rlgl.cs b/Raylib-cs/interop/Rlgl.cs
index 746031c..2938ca5 100644
--- a/Raylib-cs/interop/Rlgl.cs
+++ b/Raylib-cs/interop/Rlgl.cs
@@ -482,7 +482,7 @@ public static unsafe partial class Rlgl
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial float GetPointSize();
- /// Disable wire mode
+ /// Enable wire mode
[LibraryImport(NativeLibName, EntryPoint = "rlEnableWireMode")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void EnableWireMode();
@@ -844,12 +844,12 @@ public static unsafe partial class Rlgl
/// Copy framebuffer pixel data to internal buffer
[LibraryImport(NativeLibName, EntryPoint = "rlCopyFramebuffer")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
- public static partial void rlCopyFramebuffer(int x, int y, int width, int height, int format, void* pixels);
+ public static partial void CopyFramebuffer(int x, int y, int width, int height, int format, void* pixels);
- /// Copy framebuffer pixel data to internal buffer
+ /// Resize internal framebuffer
[LibraryImport(NativeLibName, EntryPoint = "rlResizeFramebuffer")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
- public static partial void rlResizeFramebuffer(int width, int height);
+ public static partial void ResizeFramebuffer(int width, int height);
// Shaders management
@@ -863,18 +863,18 @@ public static unsafe partial class Rlgl
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint LoadShaderProgram(sbyte* vsCode, sbyte* fsCode);
- /// Load shader from code strings
+ /// Load shader program, using already loaded shader ids
[LibraryImport(NativeLibName, EntryPoint = "rlLoadShaderProgramEx")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint LoadShaderProgramEx(uint vsId, uint fsId);
- /// Load shader from code strings
+ /// Load compute shader program
[LibraryImport(NativeLibName, EntryPoint = "rlLoadShaderProgramCompute")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial uint LoadShaderProgramCompute(uint csId);
- /// Unload shader program
+ /// Unload shader, loaded with LoadShader()
[LibraryImport(NativeLibName, EntryPoint = "rlUnloadShader")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void UnloadShader(uint id);
@@ -884,12 +884,12 @@ public static unsafe partial class Rlgl
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial void UnloadShaderProgram(uint id);
- /// Get shader location uniform
+ /// Get shader location uniform, requires shader program id
[LibraryImport(NativeLibName, EntryPoint = "rlGetLocationUniform")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial int GetLocationUniform(uint shaderId, sbyte* uniformName);
- /// Get shader location attribute
+ /// Get shader location attribute, requires shader program id
[LibraryImport(NativeLibName, EntryPoint = "rlGetLocationAttrib")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial int GetLocationAttrib(uint shaderId, sbyte* attribName);
diff --git a/Raylib-cs/types/Shader.cs b/Raylib-cs/types/Shader.cs
index e5e0d89..caf5d13 100644
--- a/Raylib-cs/types/Shader.cs
+++ b/Raylib-cs/types/Shader.cs
@@ -35,8 +35,8 @@ public enum ShaderLocationIndex
MapBrdf,
VertexBoneIds,
VertexBoneWeights,
- BoneTransforms,
- BoneInstanceTransform,
+ MatrixBoneTransforms,
+ VertexInstanceTransform,
MapDiffuse = MapAlbedo,
MapSpecular = MapMetalness,