ShadowDepthMaskedShader class final
shadow_depth_masked.frag: window depth, where the caster is opaque
enough — gfx-60n.
Null is a discard here, which is what the rasteriser does with it, and it is the whole stage: a leaf card that does not cut out casts the shadow of its quad, which is a stack of dark slabs where the eye expects dappled light.
- Inheritance
-
- Object
- CpuFragmentShader
- ShadowDepthMaskedShader
Constructors
- ShadowDepthMaskedShader()
-
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 bindings, 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