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
8struct 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
19};
Definition Descriptors.h:118
Enum
Enum describing the encoding format of the pixels of an image.
Definition ImageFormat.h:68
Definition TextureUtils.h:9
static bool s_bForceFullQualityAlways
If enabled, textures are always loaded to full quality immediately. Mostly necessary for image compar...
Definition TextureUtils.h:18