gamut_map_premul_displayP3WGSL¶
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/gamut_map_premul_displayP3WGSL.ts for the most up-to-date information.
Overview¶
Converts premultiplied Display-P3 => Display-P3, while ensuring the color is within the Display-P3 gamut.
See RenderColor.gamutMapPremultipliedDisplayP3 for more information.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for gamut_map_premul_displayP3WGSL.ts in the alpenglow repository.