Skip to content

RenderImageable

Overview

Represents queryable raster data (e.g. an image)

@author Jonathan Olson <jonathan.olson@colorado.edu>

Type RenderImageable

import type { RenderImageable } from 'scenerystack/alpenglow';
  • 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

import type { SerializedRenderImageable } from 'scenerystack/alpenglow';
  • width: number
  • height: number
  • isFullyOpaque: boolean
  • data: number[]

Source Code

See the source for RenderImageable.ts in the alpenglow repository.