Function CE::Rendering::Submission::resolve_tile(const CE::Assets::Tilesets::Asset&, CE::Assets::Grids::CellIndex, const DrawStyle2D&, const Context2D&)

Function Documentation

DrawPacket2D CE::Rendering::Submission::resolve_tile(const CE::Assets::Tilesets::Asset &tileset, CE::Assets::Grids::CellIndex cell, const DrawStyle2D &style, const Context2D &context)

Declaration: [[nodiscard]]

Resolve a checked tileset grid cell as one four-vertex strip packet.

Parameters:
  • tileset – Stable grid definition and retained resources.

  • cell – Zero-based grid cell inside the tileset.

  • style – Copied transform/custom values; explicit material wins over the asset default.

  • context – Pass inputs; automatic image insertion rejects empty/duplicate keys.

Returns:

Owned validated packet; no native work, animation advancement or publication occurs. Invalid grid/range/material/parameters or allocation failure returns no packet.