SplatHashedShader class final

splat_hashed.frag — N5: the splat kept or dropped whole at a pixel, against noise, and written opaque.

The identity hash is whole-number arithmetic under 2^24, exact in doubles and in a GPU's floats alike, so a splat reads the same cell of the noise here as on a GPU — see splatNoiseOffset.

Inheritance

Constructors

SplatHashedShader()
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