Skip to content

ITexture.NextSortKey() Method

Definition

Namespace: Brine2D.Rendering

Allocates the next globally unique sort key for texture batching. All ITexture implementations must use this to avoid key collisions.

protected static int NextSortKey();

Returns

System.Int32