Function CE::Rendering::Submission::resolve_tile(const CE::Assets::Tilesets::Animation&, const DrawStyle2D&, const Context2D&)

Function Documentation

DrawPacket2D CE::Rendering::Submission::resolve_tile(const CE::Assets::Tilesets::Animation &animation, const DrawStyle2D &style, const Context2D &context)

Declaration: [[nodiscard]]

Resolve the current clip entry’s cell without advancing its cursor.

Parameters:
  • animation – Stable animation; index selects a clip entry, whose cell selects the grid strip.

  • style – Copied draw values with optional material override.

  • context – Pass values and optional image insertion.

Returns:

Owned validated packet retaining animation resources. An invalid clip index throws out_of_range; normal range/material/parameter/allocation failures propagate. No native call or frame publication occurs.