SpotShadowInfo class Rendering

Where the frame's spot shadows live in the shared shadow atlas (the texture under kShadowMapBlackboardKey): one square tile per casting spot, after the directional cascades, holding window-space depth in red.

Constructors

SpotShadowInfo({required List<Matrix4> matrices, required int firstTile, required int totalTiles, required int tileResolution})
Creates the layout record for one frame's spot shadows.
const

Properties

firstTile → int
Atlas tile index of slot 0; slot i is tile firstTile + i.
final
hashCode → int
The hash code for this object.
no setterinherited
matrices → List<Matrix4>
World to clip matrix of each casting spot, in shadow slot order.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tileResolution → int
Edge length of a tile in texels.
final
totalTiles → int
Tiles across the atlas (its width is totalTiles * tileResolution).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited