PbrSurfaceContext class final
What PbrHooks.surface is handed for one fragment: the surface to rewrite and what the stage reads it from.
Made by PbrShader for each fragment, never by a hook.
Properties
- bindings → ShaderBindings
-
The draw's uniforms and textures.
final
- fragment → FragmentContext
-
The fragment being shaded: its pixel and its derivatives.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surface → Surface
-
The surface with its maps applied, which the hook rewrites in place.
final
- varyings → Float32List
-
The fragment's varyings, laid out as
CpuMeshLayoutsays.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