BLRgba Struct Reference

128-bit RGBA color stored as 4 32-bit floating point values in [RGBA] order.

Public Members

Member Functions

Construction & Destruction
Overloaded Operators
Common Functionality

Member Function Documentation

bool BLRgba::isOpaque() constconstexpr

Tests whether the color is fully-opaque (alpha equals 1.0).

bool BLRgba::isTransparent() constconstexpr

Tests whether the color is fully-transparent (alpha equals 0.0).

Member Data Documentation

float BLRgba::r

Red component.

float BLRgba::g

Green component.

float BLRgba::b

Blur component.

float BLRgba::a

Alpha component.