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

Focus pr on explicit type and util changes

This commit is contained in:
Rgebee 2025-09-17 19:16:39 +01:00
commit be91fe9120
15 changed files with 18 additions and 856 deletions

View file

@ -22,16 +22,4 @@ public struct RenderTexture2D
/// Depth buffer attachment texture
/// </summary>
public Texture2D Depth;
public readonly CBool IsValid => Raylib.IsRenderTextureValid(this);
public static RenderTexture2D Load(int width, int height)
{
return Raylib.LoadRenderTexture(width, height);
}
public void Unload()
{
Raylib.UnloadRenderTexture(this);
}
}