Interfaces

OffscreenSurfaceOptions

Properties

colorSpace?

optional colorSpace?: ColorSpace;

The surface's colour space, fixed at creation like a view's. Defaults to 'srgb'.


height

height: number;

opaque?

optional opaque?: boolean;

Defaults to false, which leaves what the scene did not cover transparent.


pixelRatio?

optional pixelRatio?: number;

Pixels per point. Defaults to 1.


width

width: number;

Logical points, like a <Canvas> of the same size.

On this page