storage property

Float32List get storage

Returns a Float32List that represents the color as a vector.

Implementation

Float32List get storage => Float32List.fromList([
  r,
  g,
  b,
  a,
]);