|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
Single-precision floating-point RGBA colour. More...
#include <color.h>
Public Attributes | |
| float | r |
| Red channel [0.0, 1.0]. | |
| float | g |
| Green channel [0.0, 1.0]. | |
| float | b |
| Blue channel [0.0, 1.0]. | |
| float | a |
| Alpha channel [0.0, 1.0] (0 = transparent, 1 = opaque). | |
Single-precision floating-point RGBA colour.
Each component is in the range [0.0f, 1.0f]:
| float Color_RGBAf::a |
Alpha channel [0.0, 1.0] (0 = transparent, 1 = opaque).
| float Color_RGBAf::b |
Blue channel [0.0, 1.0].
| float Color_RGBAf::g |
Green channel [0.0, 1.0].
| float Color_RGBAf::r |
Red channel [0.0, 1.0].