RenderImageable¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/render-program/RenderImageable.ts for the most up-to-date information.
Overview¶
Represents queryable raster data (e.g. an image)
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type RenderImageable¶
- width: number
- height: number
- isFullyOpaque: boolean
- evaluate: ( x: number, y: number ) => Vector4
TODO: sampling of things, actually have methods that get samples (in any color space)
Type SerializedRenderImageable¶
- width: number
- height: number
- isFullyOpaque: boolean
- data: number[]
Source Code¶
See the source for RenderImageable.ts in the alpenglow repository.