The OpenD Programming Language

RGB.ComponentType

Type of the color components.

  1. alias ComponentType = ComponentType_
    import std.experimental.color.rgb;
    struct RGB(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
    @safe pure nothrow @nogc
    static if(isFloatingPoint!ComponentType_)
    alias ComponentType = ComponentType_
  2. alias ComponentType = NormalizedInt!ComponentType_

Meta