ViewportShadeShader class final
viewport_shade.frag: shading read out of the surface buffer —
gfx-43n, gfx-44n and gfx-45n.
Mirrors the GLSL branch for branch, the contract every shader in this
package keeps. Four modes and a no-op, decided by params.x — a number
rather than an enum for the same reason the GLSL has one: it is part of a
uniform layout four backends read.
- Inheritance
-
- Object
- CpuFragmentShader
- ViewportShadeShader
Constructors
- ViewportShadeShader()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
run(
Float32List v, ShaderBindings b, FragmentContext c) → Vector4? -
Returns linear RGBA for attachment zero. Null discards the fragment.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited