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

IsTextureReady renamed

This commit is contained in:
JupiterRider 2024-12-06 19:57:13 +01:00
commit 37f5f64115

View file

@ -1801,9 +1801,9 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern RenderTexture2D LoadRenderTexture(int width, int height); public static extern RenderTexture2D LoadRenderTexture(int width, int height);
/// <summary>Check if a texture is ready</summary> /// <summary>Check if a texture is valid (loaded in GPU)</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern CBool IsTextureReady(Texture2D texture); public static extern CBool IsTextureValid(Texture2D texture);
/// <summary>Unload texture from GPU memory (VRAM)</summary> /// <summary>Unload texture from GPU memory (VRAM)</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]