resonance 1.0.1
Loading...
Searching...
No Matches
Color Struct Reference

Linear colour with four float components. More...

#include <color.h>

Public Attributes

float r
float g
float b
float a

Detailed Description

Linear colour with four float components.

The class is not polymorphic and emits no RTTI descriptor, so the name is inferred. The text dump of a material colour and of a mesh vertex colour writes four components under the labels "(r:", " g:", " b:", and " a:", and the renderer copies the four words as one quadword.

Member Data Documentation

◆ r

float Color::r

◆ g

float Color::g

◆ b

float Color::b

◆ a

float Color::a

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