Focus pr on explicit type and util changes
This commit is contained in:
parent
205e602080
commit
be91fe9120
15 changed files with 18 additions and 856 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue