TextureFormat


public final class TextureFormat


An enumeration of all supported texture formats.

Summary

Constants

static final int

ASTC compressed 10x10 unsigned normalized format.

static final int

ASTC compressed 10x10 sRGB unsigned normalized format.

static final int

ASTC compressed 10x5 unsigned normalized format.

static final int

ASTC compressed 10x5 sRGB unsigned normalized format.

static final int

ASTC compressed 10x6 unsigned normalized format.

static final int

ASTC compressed 10x6 sRGB unsigned normalized format.

static final int

ASTC compressed 10x8 unsigned normalized format.

static final int

ASTC compressed 10x8 sRGB unsigned normalized format.

static final int

ASTC compressed 12x10 unsigned normalized format.

static final int

ASTC compressed 12x10 sRGB unsigned normalized format.

static final int

ASTC compressed 12x12 unsigned normalized format.

static final int

ASTC compressed 12x12 sRGB unsigned normalized format.

static final int

ASTC compressed 4x4 unsigned normalized format.

static final int

ASTC compressed 4x4 sRGB unsigned normalized format.

static final int

ASTC compressed 5x4 unsigned normalized format.

static final int

ASTC compressed 5x4 sRGB unsigned normalized format.

static final int

ASTC compressed 5x5 unsigned normalized format.

static final int

ASTC compressed 5x5 sRGB unsigned normalized format.

static final int

ASTC compressed 6x5 unsigned normalized format.

static final int

ASTC compressed 6x5 sRGB unsigned normalized format.

static final int

ASTC compressed 6x6 unsigned normalized format.

static final int

ASTC compressed 6x6 sRGB unsigned normalized format.

static final int

ASTC compressed 8x5 unsigned normalized format.

static final int

ASTC compressed 8x5 sRGB unsigned normalized format.

static final int

ASTC compressed 8x6 unsigned normalized format.

static final int

ASTC compressed 8x6 sRGB unsigned normalized format.

static final int

ASTC compressed 8x8 unsigned normalized format.

static final int

ASTC compressed 8x8 sRGB unsigned normalized format.

static final int

BC1 compressed RGBA unsigned normalized format.

static final int

BC1 compressed RGBA sRGB unsigned normalized format.

static final int

BC2 compressed RGBA unsigned normalized format.

static final int

BC2 compressed RGBA sRGB unsigned normalized format.

static final int

BC3 compressed RGBA unsigned normalized format.

static final int

BC3 compressed RGBA sRGB unsigned normalized format.

static final int

BC4 compressed single-channel signed normalized format.

static final int

BC4 compressed single-channel unsigned normalized format.

static final int

BC5 compressed two-channel signed normalized format.

static final int

BC5 compressed two-channel unsigned normalized format.

static final int

BC6H compressed RGB signed float format.

static final int

BC6H compressed RGB unsigned float format.

static final int

BC7 compressed RGBA unsigned normalized format.

static final int

BC7 compressed RGBA sRGB unsigned normalized format.

static final int

Four-component 32-bit unsigned normalized format with blue channel first.

static final int

Four-component 32-bit sRGB unsigned normalized format with blue channel first.

static final int

16-bit unsigned normalized depth format.

static final int

A depth format with at least 24 bits.

static final int

A packed depth-stencil format with at least 24 bits for depth and 8 for stencil.

static final int

32-bit float depth format.

static final int

32-bit float depth and 8-bit stencil format.

static final int

EAC compressed R11 signed normalized format.

static final int

EAC compressed R11 unsigned normalized format.

static final int

EAC compressed RG11 signed normalized format.

static final int

EAC compressed RG11 unsigned normalized format.

static final int

ETC2 compressed RGB8A1 unsigned normalized format.

static final int

ETC2 compressed RGB8A1 sRGB unsigned normalized format.

static final int

ETC2 compressed RGB8 unsigned normalized format.

static final int

ETC2 compressed RGB8 sRGB unsigned normalized format.

static final int

ETC2 compressed RGBA8 unsigned normalized format.

static final int

ETC2 compressed RGBA8 sRGB unsigned normalized format.

static final int

16-bit float red channel format.

static final int

16-bit signed integer red channel format.

static final int

16-bit signed normalized red channel format.

static final int

16-bit unsigned integer red channel format.

static final int

16-bit unsigned normalized red channel format.

static final int

32-bit float red channel format.

static final int
R32Sint = 16

32-bit signed integer red channel format.

static final int
R32Uint = 15

32-bit unsigned integer red channel format.

static final int
R8Sint = 4

8-bit signed integer red channel format.

static final int

8-bit signed normalized red channel format.

static final int
R8Uint = 3

8-bit unsigned integer red channel format.

static final int

8-bit unsigned normalized red channel format.

static final int

Packed 32-bit format with 11-bit R, G and 10-bit B unsigned float components.

static final int

Two-component 32-bit float format.

static final int

Two-component 32-bit signed integer format.

static final int

Two-component 32-bit signed normalized format.

static final int

Two-component 32-bit unsigned integer format.

static final int

Two-component 32-bit unsigned normalized format.

static final int

Two-component 64-bit float format.

static final int

Two-component 64-bit signed integer format.

static final int

Two-component 64-bit unsigned integer format.

static final int
RG8Sint = 13

Two-component 16-bit signed integer format.

static final int

Two-component 16-bit signed normalized format.

static final int
RG8Uint = 12

Two-component 16-bit unsigned integer format.

static final int

Two-component 16-bit unsigned normalized format.

static final int

Packed 32-bit format with 10-bit R, G, B and 2-bit A unsigned integer components.

static final int

Packed 32-bit format with 10-bit R, G, B and 2-bit A unsigned normalized components.

static final int

Packed 32-bit format with 9-bit R, G, B mantissas and a shared 5-bit exponent.

static final int

Four-component 64-bit float format.

static final int

Four-component 64-bit signed integer format.

static final int

Four-component 64-bit signed normalized format.

static final int

Four-component 64-bit unsigned integer format.

static final int

Four-component 64-bit unsigned normalized format.

static final int

Four-component 128-bit float format.

static final int

Four-component 128-bit signed integer format.

static final int

Four-component 128-bit unsigned integer format.

static final int

Four-component 32-bit signed integer format.

static final int

Four-component 32-bit signed normalized format.

static final int

Four-component 32-bit unsigned integer format.

static final int

Four-component 32-bit unsigned normalized format.

static final int

Four-component 32-bit sRGB unsigned normalized format.

static final int

8-bit stencil format.

static final int

Indicates that no texture format is specified.

Public methods

static final @NonNull String
toString(int value)

Constants

ASTC10x10Unorm

public static final int ASTC10x10Unorm = 96

ASTC compressed 10x10 unsigned normalized format.

ASTC10x10UnormSrgb

public static final int ASTC10x10UnormSrgb = 97

ASTC compressed 10x10 sRGB unsigned normalized format.

ASTC10x5Unorm

public static final int ASTC10x5Unorm = 90

ASTC compressed 10x5 unsigned normalized format.

ASTC10x5UnormSrgb

public static final int ASTC10x5UnormSrgb = 91

ASTC compressed 10x5 sRGB unsigned normalized format.

ASTC10x6Unorm

public static final int ASTC10x6Unorm = 92

ASTC compressed 10x6 unsigned normalized format.

ASTC10x6UnormSrgb

public static final int ASTC10x6UnormSrgb = 93

ASTC compressed 10x6 sRGB unsigned normalized format.

ASTC10x8Unorm

public static final int ASTC10x8Unorm = 94

ASTC compressed 10x8 unsigned normalized format.

ASTC10x8UnormSrgb

public static final int ASTC10x8UnormSrgb = 95

ASTC compressed 10x8 sRGB unsigned normalized format.

ASTC12x10Unorm

public static final int ASTC12x10Unorm = 98

ASTC compressed 12x10 unsigned normalized format.

ASTC12x10UnormSrgb

public static final int ASTC12x10UnormSrgb = 99

ASTC compressed 12x10 sRGB unsigned normalized format.

ASTC12x12Unorm

public static final int ASTC12x12Unorm = 100

ASTC compressed 12x12 unsigned normalized format.

ASTC12x12UnormSrgb

public static final int ASTC12x12UnormSrgb = 101

ASTC compressed 12x12 sRGB unsigned normalized format.

ASTC4x4Unorm

public static final int ASTC4x4Unorm = 74

ASTC compressed 4x4 unsigned normalized format.

ASTC4x4UnormSrgb

public static final int ASTC4x4UnormSrgb = 75

ASTC compressed 4x4 sRGB unsigned normalized format.

ASTC5x4Unorm

public static final int ASTC5x4Unorm = 76

ASTC compressed 5x4 unsigned normalized format.

ASTC5x4UnormSrgb

public static final int ASTC5x4UnormSrgb = 77

ASTC compressed 5x4 sRGB unsigned normalized format.

ASTC5x5Unorm

public static final int ASTC5x5Unorm = 78

ASTC compressed 5x5 unsigned normalized format.

ASTC5x5UnormSrgb

public static final int ASTC5x5UnormSrgb = 79

ASTC compressed 5x5 sRGB unsigned normalized format.

ASTC6x5Unorm

public static final int ASTC6x5Unorm = 80

ASTC compressed 6x5 unsigned normalized format.

ASTC6x5UnormSrgb

public static final int ASTC6x5UnormSrgb = 81

ASTC compressed 6x5 sRGB unsigned normalized format.

ASTC6x6Unorm

public static final int ASTC6x6Unorm = 82

ASTC compressed 6x6 unsigned normalized format.

ASTC6x6UnormSrgb

public static final int ASTC6x6UnormSrgb = 83

ASTC compressed 6x6 sRGB unsigned normalized format.

ASTC8x5Unorm

public static final int ASTC8x5Unorm = 84

ASTC compressed 8x5 unsigned normalized format.

ASTC8x5UnormSrgb

public static final int ASTC8x5UnormSrgb = 85

ASTC compressed 8x5 sRGB unsigned normalized format.

ASTC8x6Unorm

public static final int ASTC8x6Unorm = 86

ASTC compressed 8x6 unsigned normalized format.

ASTC8x6UnormSrgb

public static final int ASTC8x6UnormSrgb = 87

ASTC compressed 8x6 sRGB unsigned normalized format.

ASTC8x8Unorm

public static final int ASTC8x8Unorm = 88

ASTC compressed 8x8 unsigned normalized format.

ASTC8x8UnormSrgb

public static final int ASTC8x8UnormSrgb = 89

ASTC compressed 8x8 sRGB unsigned normalized format.

BC1RGBAUnorm

public static final int BC1RGBAUnorm = 50

BC1 compressed RGBA unsigned normalized format.

BC1RGBAUnormSrgb

public static final int BC1RGBAUnormSrgb = 51

BC1 compressed RGBA sRGB unsigned normalized format.

BC2RGBAUnorm

public static final int BC2RGBAUnorm = 52

BC2 compressed RGBA unsigned normalized format.

BC2RGBAUnormSrgb

public static final int BC2RGBAUnormSrgb = 53

BC2 compressed RGBA sRGB unsigned normalized format.

BC3RGBAUnorm

public static final int BC3RGBAUnorm = 54

BC3 compressed RGBA unsigned normalized format.

BC3RGBAUnormSrgb

public static final int BC3RGBAUnormSrgb = 55

BC3 compressed RGBA sRGB unsigned normalized format.

BC4RSnorm

public static final int BC4RSnorm = 57

BC4 compressed single-channel signed normalized format.

BC4RUnorm

public static final int BC4RUnorm = 56

BC4 compressed single-channel unsigned normalized format.

BC5RGSnorm

public static final int BC5RGSnorm = 59

BC5 compressed two-channel signed normalized format.

BC5RGUnorm

public static final int BC5RGUnorm = 58

BC5 compressed two-channel unsigned normalized format.

BC6HRGBFloat

public static final int BC6HRGBFloat = 61

BC6H compressed RGB signed float format.

BC6HRGBUfloat

public static final int BC6HRGBUfloat = 60

BC6H compressed RGB unsigned float format.

BC7RGBAUnorm

public static final int BC7RGBAUnorm = 62

BC7 compressed RGBA unsigned normalized format.

BC7RGBAUnormSrgb

public static final int BC7RGBAUnormSrgb = 63

BC7 compressed RGBA sRGB unsigned normalized format.

BGRA8Unorm

public static final int BGRA8Unorm = 27

Four-component 32-bit unsigned normalized format with blue channel first.

BGRA8UnormSrgb

public static final int BGRA8UnormSrgb = 28

Four-component 32-bit sRGB unsigned normalized format with blue channel first.

Depth16Unorm

public static final int Depth16Unorm = 45

16-bit unsigned normalized depth format.

Depth24Plus

public static final int Depth24Plus = 46

A depth format with at least 24 bits.

Depth24PlusStencil8

public static final int Depth24PlusStencil8 = 47

A packed depth-stencil format with at least 24 bits for depth and 8 for stencil.

Depth32Float

public static final int Depth32Float = 48

32-bit float depth format.

Depth32FloatStencil8

public static final int Depth32FloatStencil8 = 49

32-bit float depth and 8-bit stencil format.

EACR11Snorm

public static final int EACR11Snorm = 71

EAC compressed R11 signed normalized format.

EACR11Unorm

public static final int EACR11Unorm = 70

EAC compressed R11 unsigned normalized format.

EACRG11Snorm

public static final int EACRG11Snorm = 73

EAC compressed RG11 signed normalized format.

EACRG11Unorm

public static final int EACRG11Unorm = 72

EAC compressed RG11 unsigned normalized format.

ETC2RGB8A1Unorm

public static final int ETC2RGB8A1Unorm = 66

ETC2 compressed RGB8A1 unsigned normalized format.

ETC2RGB8A1UnormSrgb

public static final int ETC2RGB8A1UnormSrgb = 67

ETC2 compressed RGB8A1 sRGB unsigned normalized format.

ETC2RGB8Unorm

public static final int ETC2RGB8Unorm = 64

ETC2 compressed RGB8 unsigned normalized format.

ETC2RGB8UnormSrgb

public static final int ETC2RGB8UnormSrgb = 65

ETC2 compressed RGB8 sRGB unsigned normalized format.

ETC2RGBA8Unorm

public static final int ETC2RGBA8Unorm = 68

ETC2 compressed RGBA8 unsigned normalized format.

ETC2RGBA8UnormSrgb

public static final int ETC2RGBA8UnormSrgb = 69

ETC2 compressed RGBA8 sRGB unsigned normalized format.

R16Float

public static final int R16Float = 9

16-bit float red channel format.

R16Sint

public static final int R16Sint = 8

16-bit signed integer red channel format.

R16Snorm

public static final int R16Snorm = 6

16-bit signed normalized red channel format.

R16Uint

public static final int R16Uint = 7

16-bit unsigned integer red channel format.

R16Unorm

public static final int R16Unorm = 5

16-bit unsigned normalized red channel format.

R32Float

public static final int R32Float = 14

32-bit float red channel format.

R32Sint

public static final int R32Sint = 16

32-bit signed integer red channel format.

R32Uint

public static final int R32Uint = 15

32-bit unsigned integer red channel format.

R8Sint

public static final int R8Sint = 4

8-bit signed integer red channel format.

R8Snorm

public static final int R8Snorm = 2

8-bit signed normalized red channel format.

R8Uint

public static final int R8Uint = 3

8-bit unsigned integer red channel format.

R8Unorm

public static final int R8Unorm = 1

8-bit unsigned normalized red channel format.

RG11B10Ufloat

public static final int RG11B10Ufloat = 31

Packed 32-bit format with 11-bit R, G and 10-bit B unsigned float components.

RG16Float

public static final int RG16Float = 21

Two-component 32-bit float format.

RG16Sint

public static final int RG16Sint = 20

Two-component 32-bit signed integer format.

RG16Snorm

public static final int RG16Snorm = 18

Two-component 32-bit signed normalized format.

RG16Uint

public static final int RG16Uint = 19

Two-component 32-bit unsigned integer format.

RG16Unorm

public static final int RG16Unorm = 17

Two-component 32-bit unsigned normalized format.

RG32Float

public static final int RG32Float = 33

Two-component 64-bit float format.

RG32Sint

public static final int RG32Sint = 35

Two-component 64-bit signed integer format.

RG32Uint

public static final int RG32Uint = 34

Two-component 64-bit unsigned integer format.

RG8Sint

public static final int RG8Sint = 13

Two-component 16-bit signed integer format.

RG8Snorm

public static final int RG8Snorm = 11

Two-component 16-bit signed normalized format.

RG8Uint

public static final int RG8Uint = 12

Two-component 16-bit unsigned integer format.

RG8Unorm

public static final int RG8Unorm = 10

Two-component 16-bit unsigned normalized format.

RGB10A2Uint

public static final int RGB10A2Uint = 29

Packed 32-bit format with 10-bit R, G, B and 2-bit A unsigned integer components.

RGB10A2Unorm

public static final int RGB10A2Unorm = 30

Packed 32-bit format with 10-bit R, G, B and 2-bit A unsigned normalized components.

RGB9E5Ufloat

public static final int RGB9E5Ufloat = 32

Packed 32-bit format with 9-bit R, G, B mantissas and a shared 5-bit exponent.

RGBA16Float

public static final int RGBA16Float = 40

Four-component 64-bit float format.

RGBA16Sint

public static final int RGBA16Sint = 39

Four-component 64-bit signed integer format.

RGBA16Snorm

public static final int RGBA16Snorm = 37

Four-component 64-bit signed normalized format.

RGBA16Uint

public static final int RGBA16Uint = 38

Four-component 64-bit unsigned integer format.

RGBA16Unorm

public static final int RGBA16Unorm = 36

Four-component 64-bit unsigned normalized format.

RGBA32Float

public static final int RGBA32Float = 41

Four-component 128-bit float format.

RGBA32Sint

public static final int RGBA32Sint = 43

Four-component 128-bit signed integer format.

RGBA32Uint

public static final int RGBA32Uint = 42

Four-component 128-bit unsigned integer format.

RGBA8Sint

public static final int RGBA8Sint = 26

Four-component 32-bit signed integer format.

RGBA8Snorm

public static final int RGBA8Snorm = 24

Four-component 32-bit signed normalized format.

RGBA8Uint

public static final int RGBA8Uint = 25

Four-component 32-bit unsigned integer format.

RGBA8Unorm

public static final int RGBA8Unorm = 22

Four-component 32-bit unsigned normalized format.

RGBA8UnormSrgb

public static final int RGBA8UnormSrgb = 23

Four-component 32-bit sRGB unsigned normalized format.

Stencil8

public static final int Stencil8 = 44

8-bit stencil format.

Undefined

public static final int Undefined = 0

Indicates that no texture format is specified.

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)