Diligent Engine  v.2.4.g
Namespaces | Functions
ColorConversion.h File Reference
#include <cmath>
#include "../../../Primitives/interface/BasicTypes.h"

Go to the source code of this file.

Namespaces

 Diligent
 The library uses Direct3D-style math:
 

Functions

float Diligent::LinearToSRGB (float x)
 
float Diligent::SRGBToLinear (float x)
 
float Diligent::LinearToSRGB (Uint8 x)
 
float Diligent::SRGBToLinear (Uint8 x)
 
float Diligent::FastLinearToSRGB (float x)
 
float Diligent::FastSRGBToLinear (float x)