ezEngine Release 26.3
Loading...
Searching...
No Matches
ezImageAddressMode Struct Reference

Defines how texture coordinates outside [0,1] are handled during sampling. More...

#include <ImageEnums.h>

Inheritance diagram for ezImageAddressMode:

Public Types

enum  Enum {
  Repeat , Clamp , ClampBorder , Mirror ,
  ENUM_COUNT , Default = Repeat
}
 
using StorageType = ezUInt8
 

Detailed Description

Defines how texture coordinates outside [0,1] are handled during sampling.

Member Enumeration Documentation

◆ Enum

Enumerator
Repeat 

Tile the texture by repeating texture coordinates (0.0, 1.0, 2.0 -> 0.0, 0.0, 0.0)

Clamp 

Clamp coordinates to [0,1] range (coordinates outside become edge pixels)

ClampBorder 

Use a specific border color for coordinates outside [0,1].

Mirror 

Mirror the texture at boundaries (0.0, 1.0, 2.0 -> 0.0, 1.0, 0.0)


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