Skip to content

ITextureLoader.UnloadTexture(ITexture) Method

Definition

Namespace: Brine2D.Rendering

Unloads a texture and frees its resources. Implementations must be idempotent — calling this twice with the same instance must not throw or cause a double-free of native resources.

void UnloadTexture(Brine2D.Rendering.ITexture texture);

Parameters

texture ITexture