PbrLightContext class final

What PbrHooks.light is handed for one light at one fragment: the light and the model's own answer to it.

Made by PbrShader for each light, never by a hook.

Properties

hashCode → int
The hash code for this object.
no setterinherited
light → LightSample
The light as the point sees it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
standard → Vector3
The standard model's answer to light, before its radiance and n·l: what the hook returns when it changes nothing.
final
surface → Surface
The surface being lit, as PbrHooks.surface left it.
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