Function toLinear

Converts encoded Display-P3 to linear Display-P3.

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