drawingBufferColorSpace property

PredefinedColorSpace get drawingBufferColorSpace

The WebGLRenderingContext.drawingBufferColorSpace property specifies the color space of the WebGL drawing buffer. Along with the default (srgb), the display-p3 color space can be used.

See WebGLRenderingContext.unpackColorSpace for specifying the color space for textures.

Implementation

external PredefinedColorSpace get drawingBufferColorSpace;
set drawingBufferColorSpace (PredefinedColorSpace value)

Implementation

external set drawingBufferColorSpace(PredefinedColorSpace value);