const ColorsTrait: () => (
props: {
color?: ColorLike,
colors?:
| Int8Array
| Uint8Array
| Int16Array
| Uint16Array
| Int32Array
| Uint32Array
| Uint8ClampedArray
| Float32Array
| Float64Array
| TensorArray
| ColorLike[]
| StorageSource
| ParsedBundle<any>
| ParsedModule<any>
| LambdaSource<ShaderModule<any>>
| TextureSource,
opacity?: number,
},
parsed: {
color?: vec4,
colors?: Float32Array,
},
) => void
packages / plot / src / traits.ts