ShadowTechniqueContext class final
What a ShadowTechnique is told when the frame asks it how the map is split, prefiltered and read: one object that can gain members — the light, the device's features, the quality row — rather than the application's ShadowSettings, which a technique has no say in.
Constructors
- ShadowTechniqueContext({required ShadowSettings settings, LightNode? light, CameraView? view, int viewIndex = 0})
-
What a technique is asked under, for one frame,
settingsfirst, aboutlightas seen throughview, the frame's view atviewIndex.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- light → LightNode?
-
The light the question is about, or null where it is about the
frame's directional settings as a whole — which is every question the
engine asks today: the map's kernel, prefilter and cascade count are
chosen once a frame, before any light is drawn.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → ShadowSettings
-
The frame's shadow settings.
final
- view → CameraView?
-
The view the question is asked for, or null where the answer serves
every view of the frame, as the engine's questions do.
final
- viewIndex → int
-
Which of the frame's views view is, from nought.
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