Skip to content

linear_displayP3_to_linear_sRGBWGSL

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/webgpu/wgsl/color/linear_displayP3_to_linear_sRGBWGSL.ts for the most up-to-date information.

Overview

Converts a linear Display-P3 color to the linear sRGB color space

See RenderColor.linearDisplayP3ToLinear for more information.

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

Source Code

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