libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Color_RGBAf Struct Reference

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).
 

Detailed Description

Single-precision floating-point RGBA colour.

Each component is in the range [0.0f, 1.0f]:

  • 0.0f represents the minimum intensity (black / transparent).
  • 1.0f represents the maximum intensity (white / fully opaque).

Member Data Documentation

◆ a

float Color_RGBAf::a

Alpha channel [0.0, 1.0] (0 = transparent, 1 = opaque).

◆ b

float Color_RGBAf::b

Blue channel [0.0, 1.0].

◆ g

float Color_RGBAf::g

Green channel [0.0, 1.0].

◆ r

float Color_RGBAf::r

Red channel [0.0, 1.0].


The documentation for this struct was generated from the following file: