From 4095b22ff899def13d6481a2ceec70d2edcbf18f Mon Sep 17 00:00:00 2001 From: JupiterRider <60042618+JupiterRider@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:56:08 +0100 Subject: [PATCH] IsShaderReady renamed --- Raylib-cs/interop/Raylib.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index aa97a58..d4c7d0a 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -362,9 +362,9 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Shader LoadShaderFromMemory(sbyte* vsCode, sbyte* fsCode); - /// Check if a shader is ready + /// Check if a shader is valid (loaded on GPU) [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool IsShaderReady(Shader shader); + public static extern CBool IsShaderValid(Shader shader); /// Get shader uniform location [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]