Skip to content

TilemapRenderer Class

Definition

Namespace: Brine2D.Rendering

C#
public class TilemapRenderer : System.IDisposable

Inheritance System.Object → TilemapRenderer

Implements System.IDisposable

Methods
Dispose() Disposes the sprite batcher. Call Brine2D.Rendering.TilemapRenderer.UnloadAll\(Brine2D\.Rendering\.ITextureLoader\) first to avoid GPU texture leaks.
GetVisibleTileRange\(Tilemap, ICamera, float, float, float, float\) Returns the inclusive tile index range visible to the camera, accounting for layer offset and parallax.