RGB888Templ

24 Bit colorspace

Constructors

this
this(ubyte r, ubyte g, ubyte b)

Standard CTOR

this
this(float fR, float fG, float fB, float fA)

Standard CTOR

this
this(float fY, float fA)

Conversion CTOR from monochrome

this
this(ColorType orig)

Template for pixel conversion

this
this(ubyte p)

Conversion from 8bit monochrome

Members

Properties

a
ubyte a [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
b
auto ref b [@property getter]

blue

b
auto ref b [@property getter]

blue

base
uint base [@property getter]

direct access read

fA
float fA [@property getter]

Returns the alpha channel as a normalized floating-point value

fA
float fA [@property setter]

Sets the alpha value channel a normalized floating-point value Returns the new requantized value

fB
float fB [@property getter]

Returns the blue channel as a normalized floating-point value

fB
float fB [@property setter]

Sets the blue value channel a normalized floating-point value Returns the new requantized value

fG
float fG [@property getter]

Returns the green channel as a normalized floating-point value

fG
float fG [@property setter]

Sets the green value channel a normalized floating-point value Returns the new requantized value

fR
float fR [@property getter]

Returns the red channel as a normalized floating-point value

fR
float fR [@property setter]

Sets the red value channel a normalized floating-point value Returns the new requantized value

g
auto ref g [@property getter]

green

g
auto ref g [@property getter]

green

r
auto ref r [@property getter]

red

r
auto ref r [@property getter]

red

Static functions

hasAlphaChannelSupport
bool hasAlphaChannelSupport()

Returns true if type has alpha channel support

Static variables

fAStepping
double fAStepping;

Floating-point alpha stepping

fBStepping
double fBStepping;

Floating-point blue stepping

fGStepping
double fGStepping;

Floating-point green stepping

fRStepping
double fRStepping;

Floating-point red stepping

Variables

bytes
ubyte[3] bytes;

individual access

Meta