MrtProbeShader class final

mrt_probe.frag: two constants into two attachments.

It exists to answer whether a backend writes the second target at all, so there is nothing to get right here except writing both.

Inheritance

Constructors

MrtProbeShader()
Keeps no state, so one const instance serves every draw; builtinCpuShaders files it under MrtProbe.
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