LightPackContext class final
What a LightTypeHook is handed for one light: the light, and the row the lit stages read it from, to fill.
One object that can gain members — the view, the light's place in the list — rather than a list of parameters that grows.
Properties
- code → int
-
The code the lit stages read this type by, in the row's float 3:
LightTypes.firstPluginCode or above, given at registration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- light → LightNode
-
The light being packed.
final
- row → Float32List
-
Its sixteen floats, as
lib/surface.glslreads a light: fourvec4s, already filled the way the light's LightType.base is packed —final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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