Plasma Engine  2.0
Loading...
Searching...
No Matches
plTextureUtils Struct Reference

Static Public Member Functions

static plGALResourceFormat::Enum ImageFormatToGalFormat (plImageFormat::Enum format, bool bSRGB)
 
static plImageFormat::Enum GalFormatToImageFormat (plGALResourceFormat::Enum format, bool bRemoveSRGB)
 
static plImageFormat::Enum GalFormatToImageFormat (plGALResourceFormat::Enum format)
 
static void ConfigureSampler (plTextureFilterSetting::Enum filter, plGALSamplerStateCreationDescription &out_sampler)
 

Static Public Attributes

static bool s_bForceFullQualityAlways = false
 If enabled, textures are always loaded to full quality immediately. Mostly necessary for image comparison unit tests.
 

Member Function Documentation

◆ ImageFormatToGalFormat()

plGALResourceFormat::Enum plTextureUtils::ImageFormatToGalFormat ( plImageFormat::Enum format,
bool bSRGB )
static
Todo
Not supported by some GPUs ?

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