Contents

resolveHDR(in:)

Evaluates this color to a resolved color with content headroom, given a set of environment values.

Declaration

func resolveHDR(in environment: EnvironmentValues) -> Color.ResolvedHDR

Parameters

  • environment:

    The environment of the view displaying the color.

Return Value

The color’s value in the sRGB color space.

See Also

Working with high dynamic range (HDR) colors