Skip to content

linear_sRGB_to_oklabWGSL

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_sRGB_to_oklabWGSL.ts for the most up-to-date information.

Overview

Converts a linear sRGB color to the oklab color space.

See RenderColor.linearToOklab for more information.

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

Source Code

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