interface ImageSourceOptions {
    colorSpace?: ColorSpace;
    containsFn?: CustomContainsFn;
    flipY?: boolean;
    is8bit?: boolean;
    synchronous?: boolean;
}

Hierarchy (view full)

Properties

colorSpace?: ColorSpace

The custom color space of the generated textures. See https://threejs.org/docs/#manual/en/introduction/Color-management for more information. If unspecified, the source considers that 8-bit images are in the sRGB color space, otherwise NoColorSpace.

containsFn?: CustomContainsFn

The custom function to test if a given extent is contained in this source. Note: we assume this function accepts extents in this source's CRS.

flipY?: boolean

Should images be flipped vertically during composition ?

is8bit?: boolean

The data type of images generated. For regular color images, this should be true. For images with a high dynamic range, or images that requires additional processing, this should be false.

synchronous?: boolean

Is this source able to generate images synchronously ?