MinecraftPlatformCommandRenderer

Extensible version-owned renderer for one family of immutable platform draw payloads.

The adapter owns this renderer; core neither dispatches on concrete components nor retains the renderer in a frame. All operations run synchronously on the adapter's render thread. A renderer may reference native services, but its accepted command payloads must obey their immutable ownership contracts.

Type Parameters

T

native drawing context borrowed only during render.

Functions

Link copied to clipboard
abstract fun accepts(command: PlatformDrawCommand): Boolean

Validates whether this renderer accepts an immutable payload before any drawing in the batch.

Link copied to clipboard
abstract fun render(target: T, command: DrawCommand.Platform)

Draws a previously validated payload at its ordered position under the presenter's active clip.