HammeriteLightmapBakeReport

Core: lighting. Inherits RefCounted

What each pass of a bake did to the light: how much energy the texels and probes held after it, static and switchable, and how many held any. Left on HammeriteLightmapper.bake_report when a bake ends, to ask whether light got where it should - "the probes gathered in GATHER", "a bounce added light in DISTRIBUTE". Totals only; the texels and probes themselves are live on the map.

Properties

TypeNameDefault
HammeriteLightmapBakeReportPassSnapshot[]passes

Methods

ReturnsMethod
HammeriteLightmapBakeReportPassSnapshot[]all_of_kind(kind: int)
Stringkind_name(k: int) static
HammeriteLightmapBakeReportPassSnapshotlast()
HammeriteLightmapBakeReportPassSnapshotof_kind(kind: int)
HammeriteLightmapBakeReportPassSnapshotsnapshot(index: int)
Stringto_text()

Enumerations

enum Kind

ValueNameDescription
0DIRECT
1GATHER
2BOUNCE
3DISTRIBUTE

Property descriptions

passes

var passes: HammeriteLightmapBakeReportPassSnapshot[]

Undocumented.

Method descriptions

all_of_kind()

func all_of_kind(kind: int) -> HammeriteLightmapBakeReportPassSnapshot[]

Every snapshot of a given Kind, in pass order.

kind_name()

static func kind_name(k: int) -> String

Human-readable name for a Kind value. Static and on the outer class so both PassSnapshot consumers and external callers can use it (the enum is only in scope here, not inside PassSnapshot).

last()

func last() -> HammeriteLightmapBakeReportPassSnapshot

The last recorded snapshot (the distribute pass, for a bounced bake), or null.

of_kind()

func of_kind(kind: int) -> HammeriteLightmapBakeReportPassSnapshot

The FIRST snapshot of a given Kind, or null. (A multi-bounce bake has several BOUNCE passes.)

snapshot()

func snapshot(index: int) -> HammeriteLightmapBakeReportPassSnapshot

The snapshot for a given pass index, or null.

to_text()

func to_text() -> String

Compact one-line-per-pass summary for logs / test failure output.

Hammerite 2.0 · built from 6d57ab2d, 2026-10-17