KernelTexture class abstract base

A texture a kernel reads with load, as the CPU placement hands it.

Implemented by a backend, over its own texture; KernelPixels is one over plain RGBA8 bytes. Implementable outside this package through 1.x: a member added later arrives with a default body.

Implementers

Constructors

KernelTexture()
A texture; a subclass says what holds its texels.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → int
In texels.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
In texels.
no setter

Methods

load(int x, int y, Float32List rgba) → void
Writes the texel at (x, y) of the base level into rgba, as four floats from nought to one, or four zeros outside the texture.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited