toDisplayP3 - multiple declarations

Function toDisplayP3

Converts linear Display-P3 to encoded Display-P3.

DisplayP3!T toDisplayP3(T)(
  LinearDisplayP3!T value
) pure nothrow @nogc @safe;

Function toDisplayP3

Converts encoded sRGB to encoded Display-P3 through XYZ D65.

DisplayP3!T toDisplayP3(T)(
  SRgb!T value
) pure nothrow @nogc @safe;