SplatShader class final
splat.frag — gfx-80n.
The same varyings the particle stage reads, because it shares
particle.vert: colour in 0..3, the quad's own coordinates in 4..5, the
world position in 6..8. What differs is that v_uv here is not a texture
coordinate but the fragment's position in the Gaussian's own frame, in
standard deviations, already centred — so there is no * 2 - 1.
- Inheritance
-
- Object
- CpuFragmentShader
- SplatShader
Constructors
- SplatShader()
-
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