Plasma Engine
2.0
Loading...
Searching...
No Matches
TextureUtils.h
1
#pragma once
2
3
#include <RendererCore/RenderContext/Implementation/RenderContextStructs.h>
4
#include <RendererCore/RendererCoreDLL.h>
5
#include <RendererFoundation/Resources/ResourceFormats.h>
6
#include <Texture/Image/Image.h>
7
8
struct
PL_RENDERERCORE_DLL
plTextureUtils
9
{
10
static
plGALResourceFormat::Enum ImageFormatToGalFormat(
plImageFormat::Enum
format,
bool
bSRGB);
11
static
plImageFormat::Enum
GalFormatToImageFormat(plGALResourceFormat::Enum format,
bool
bRemoveSRGB);
12
static
plImageFormat::Enum
GalFormatToImageFormat(plGALResourceFormat::Enum format);
13
14
15
static
void
ConfigureSampler(plTextureFilterSetting::Enum filter,
plGALSamplerStateCreationDescription
& out_sampler);
16
18
static
bool
s_bForceFullQualityAlways
;
19
};
plGALSamplerStateCreationDescription
Definition
Descriptors.h:118
plImageFormat::Enum
Enum
Enum describing the encoding format of the pixels of an image.
Definition
ImageFormat.h:68
plTextureUtils
Definition
TextureUtils.h:9
plTextureUtils::s_bForceFullQualityAlways
static bool s_bForceFullQualityAlways
If enabled, textures are always loaded to full quality immediately. Mostly necessary for image compar...
Definition
TextureUtils.h:18
Code
Engine
RendererCore
Textures
TextureUtils.h
Generated by
1.11.0