Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Color.h File Reference
+ Include dependency graph for Color.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FLinearColor
 
struct  FColor
 
struct  TIsPODType< FColor >
 
struct  TIsPODType< FLinearColor >
 
struct  FDXTColor565
 
struct  FDXTColor16
 
struct  FDXT1
 
struct  FDXT5
 
struct  TIsPODType< FDXT1 >
 
struct  TIsPODType< FDXT5 >
 
struct  TIsPODType< FDXTColor16 >
 
struct  TIsPODType< FDXTColor565 >
 

Enumerations

enum class  EGammaSpace { Linear , Pow22 , sRGB }
 

Functions

FORCEINLINE FLinearColor operator* (float Scalar, const FLinearColor &Color)
 

Variables

static const float OneOver255 = 1.0f / 255.0f
 

Enumeration Type Documentation

◆ EGammaSpace

enum class EGammaSpace
strong

Enum for the different kinds of gamma spaces we expect to need to convert from/to.

Enumerator
Linear 

No gamma correction is applied to this space, the incoming colors are assumed to already be in linear space.

Pow22 

A simplified sRGB gamma correction is applied, pow(1/2.2).

sRGB 

Use the standard sRGB conversion.

Definition at line 19 of file Color.h.

Function Documentation

◆ operator*()

FORCEINLINE FLinearColor operator* ( float Scalar,
const FLinearColor & Color )

Definition at line 364 of file Color.h.

+ Here is the call graph for this function:

Variable Documentation

◆ OneOver255

const float OneOver255 = 1.0f / 255.0f
static

Definition at line 527 of file Color.h.