Maria GDK 5.0.0.756
Documentation of managed code in develop branch
Loading...
Searching...
No Matches
TPG.GDK.CommonCore.Tiles.Color4f Struct Reference

Public Member Functions

float Gamma2f (byte b)
 
byte Gamma2b (float f)
 
float Gamma22f (byte b)
 
byte Gamma22b (float f)
 
 Color4f (float r, float g, float b, float a)
 
 Color4f (uint rgba)
 
void Add (Color4f color)
 
Color4f Sum (Color4f color, float factor)
 
Color4f Difference (Color4f color)
 
void FromRGBA (uint rgba)
 
 Color4f (string hex)
 
 Color4f (string hex, byte a)
 
 Color4f (string hex, float a)
 
uint ToRGBA32 ()
 
uint ToPremultRGBA32 ()
 
uint ToBGRA32 ()
 
uint ToPremultBGRA32 ()
 
new string ToString ()
 

Properties

float R = 0 [get, set]
 
float G = 0 [get, set]
 
float B = 0 [get, set]
 
float A = 0 [get, set]
 
static Color4f White [get]
 
static Color4f Black [get]
 
static Color4f Red [get]
 
static Color4f Green [get]
 
static Color4f Blue [get]
 

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