nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
Color Struct Reference

Public Member Functions

 Color (float red, float green, float blue, float alpha=1.0f)
 
void SetRGB (float red, float green, float blue)
 
void SetRGBA (float red, float green, float blue, float alpha)
 
void SetGrey (float val)
 
void SetGreyA (float val, float alpha)
 
uint32_t AsBGRA () const
 

Public Attributes

float r {0.0f}
 
float g {0.0f}
 
float b {0.0}
 
float a {1.0}
 

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