XII Release 0.1.0
Loading...
Searching...
No Matches
xiiTextureConverterSamplerPreset Struct Reference

Authoring presets compiled into fixed native sampler settings. Runtime samplers do not retain this enum. More...

#include <TextureConverterEnums.h>

Inheritance diagram for xiiTextureConverterSamplerPreset:
[legend]

Public Types

enum  Enum {
  Nearest , Linear , Trilinear , Aniso2x ,
  Aniso4x , Aniso8x , Aniso16x , Default = Trilinear
}
using StorageType = xiiUInt8

Static Public Member Functions

static xiiResult ConfigureSampler (Enum preset, xiiGALSamplerCreationDescription &inout_description)
 Changes filtering and anisotropy only. Invalid presets leave the description unchanged.
static xiiResult ValidateFiltering (const xiiGALSamplerCreationDescription &description)

Detailed Description

Authoring presets compiled into fixed native sampler settings. Runtime samplers do not retain this enum.

Member Function Documentation

◆ ValidateFiltering()

xiiResult xiiTextureConverterSamplerPreset::ValidateFiltering ( const xiiGALSamplerCreationDescription & description)
static

Validates regular color-texture filtering, anisotropy and LOD bounds without changing the sampler. Comparison and reduction filters belong to specialized runtime samplers, not imported color assets.


The documentation for this struct was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Texture/Converter/TextureConverterEnums.h
  • /home/runner/work/XII/XII/Source/Engine/Texture/Converter/Implementation/SamplerPreset.cpp