Pyrogenesis trunk
Functions | Variables
Color.cpp File Reference
#include "precompiled.h"
#include "graphics/Color.h"
#include "graphics/SColor.h"
#include "lib/sysdep/arch/x86_x64/simd.h"
#include "maths/MathUtil.h"
#include "ps/CLogger.h"
#include "ps/CStr.h"
Include dependency graph for Color.cpp:

Functions

static SColor4ub ConvertRGBColorTo4ubFallback (const RGBColor &src)
 
void ColorActivateFastImpl ()
 Detects CPU caps and activates the best possible codepath. More...
 

Variables

SColor4ub(* ConvertRGBColorTo4ub )(const RGBColor &src) = ConvertRGBColorTo4ubFallback
 

Function Documentation

◆ ColorActivateFastImpl()

void ColorActivateFastImpl ( )

Detects CPU caps and activates the best possible codepath.

◆ ConvertRGBColorTo4ubFallback()

static SColor4ub ConvertRGBColorTo4ubFallback ( const RGBColor src)
static

Variable Documentation

◆ ConvertRGBColorTo4ub

SColor4ub(* ConvertRGBColorTo4ub) (const RGBColor &src) ( const RGBColor src) = ConvertRGBColorTo4ubFallback