Struct

PhocColor

since: 0

Description [src]

struct PhocColor {
  float red;
  float green;
  float blue;
  float alpha;
}

PhocColor is used to represent a (possibly translucent) color.

Structure members
red

The intensity of the red channel from 0.0 to 1.0 inclusive.

green

The intensity of the green channel from 0.0 to 1.0 inclusive.

blue

The intensity of the blue channel from 0.0 to 1.0 inclusive.

alpha

The opacity of the color from 0.0 for completely translucent to 1.0 for opaque.

Available since: 0

Instance methods

phoc_color_copy
No description available.

since: 0

phoc_color_free
No description available.

since: 0