Color4f.this

CTor Expect that every component is in range 0.0 .. 1.0

  1. this(ubyte red, ubyte green, ubyte blue, ubyte alpha = 255)
  2. this(float red, float green, float blue, float alpha = 1)
    struct Color4f
    @nogc
    this
    pure nothrow
    (
    float red
    ,
    float green
    ,
    float blue
    ,
    float alpha = 1
    )
    in { assert (red >= 0f && red <= 1f); assert (green >= 0f && green <= 1f); assert (blue >= 0f && blue <= 1f); assert (alpha >= 0f && alpha <= 1f); }
  3. this(ref const Color4b col)

Meta