Kanzi  3.9.9
Kanzi Engine Java API
GraphicsFormat Enum Reference

GraphicsFormat specifies format of graphics data used for example in textures and vertex attributes. More...

Inheritance diagram for GraphicsFormat:
[legend]

Public Member Functions

 GraphicsFormat (int value)
 Constructs a GraphicsFormat of an integer value. More...
 
 GraphicsFormat (GraphicsFormat enum_)
 Constructs a copy of a GraphicsFormat object. More...
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 Returns the integer value of the enumeration constant. More...
 

Static Public Member Functions

static GraphicsFormat swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant. More...
 
static GraphicsFormat toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 GraphicsFormatA16R16G16B16_SFLOAT =(132)
 Four channel ARGB 16-bit half float format, eight bytes per pixel. More...
 
 GraphicsFormatA16R16G16B16_SINT =(131)
 Four channel ARGB 16-bit signed integer format, eight bytes per pixel. More...
 
 GraphicsFormatA16R16G16B16_SNORM =(138)
 Four channel ARGB 16-bit signed normalized format, eight bytes per pixel. More...
 
 GraphicsFormatA16R16G16B16_UINT =(130)
 Four channel ARGB 16-bit unsigned integer format, eight bytes per pixel. More...
 
 GraphicsFormatA16R16G16B16_UNORM =(137)
 Four channel ARGB 16-bit unsigned normalized format, eight bytes per pixel. More...
 
 GraphicsFormatA1R5G5B5_UNORM =(86)
 Four channel 1-bit alpha and 5-bit RGB unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatA32R32G32B32_SFLOAT =(136)
 Four channel ARGB 32-bit float format, sixteen bytes per pixel. More...
 
 GraphicsFormatA32R32G32B32_SINT =(135)
 Four channel ARGB 32-bit signed integer format, sixteen bytes per pixel. More...
 
 GraphicsFormatA32R32G32B32_UINT =(134)
 Four channel ARGB 32-bit unsigned integer format, sixteen bytes per pixel. More...
 
 GraphicsFormatA4R4G4B4_UNORM =(88)
 
 GraphicsFormatA8R8G8B8_SINT =(129)
 Four channel ARGB 8-bit signed integer format, four bytes per pixel. More...
 
 GraphicsFormatA8R8G8B8_SNORM =(133)
 Four channel ARGB 8-bit signed normalized format, four bytes per pixel. More...
 
 GraphicsFormatA8R8G8B8_UINT =(128)
 Four channel ARGB 8-bit unsigned integer format, four bytes per pixel. More...
 
 GraphicsFormatA8R8G8B8_UNORM =(90)
 Four channel ARGB 8-bit unsigned normalized format, 32 bits per pixel.
 
 GraphicsFormatALPHA1_LUMINANCE7_UNORM =(79)
 Two channel 1-bit alpha and 7-bit luminance unsigned normalized format, 8 bits per pixel.
 
 GraphicsFormatALPHA4_LUMINANCE4_UNORM =(80)
 Two channel 4-bit alpha and 4-bit luminance unsigned normalized format, 8 bits per pixel.
 
 GraphicsFormatALPHA8_LUMINANCE8_UNORM =(81)
 Two channel alpha and luminance 8-bit unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatALPHA8_UNORM =(2)
 Single channel alpha 8-bit unsigned normalized format, one byte per pixel.
 
 GraphicsFormatALPHALUMINANCE1_UNORM =(82)
 Two channel aliased single 1-bit alpha/luminance component unsigned normalized texture only format, 1 bit per pixel.
 
 GraphicsFormatALPHALUMINANCE2_UNORM =(83)
 Two channel aliased single 2-bit alpha/luminance component unsigned normalized texture only format, 2 bits per pixel.
 
 GraphicsFormatALPHALUMINANCE4_UNORM =(84)
 Two channel aliased single 4-bit alpha/luminance component unsigned normalized texture only format, 4 bits per pixel.
 
 GraphicsFormatALPHALUMINANCE8_UNORM =(85)
 Two channel aliased single 8-bit alpha/luminance component unsigned normalized texture only format, 8 bits per pixel.
 
 GraphicsFormatASTC_10x10_SRGB_BLOCK =(74)
 sRGB-corrected ASTC-compressed packed 10x10 block format. More...
 
 GraphicsFormatASTC_10x10_UNORM_BLOCK =(73)
 Unsigned normalized ASTC-compressed packed 10x10 block format. More...
 
 GraphicsFormatASTC_10x5_SRGB_BLOCK =(68)
 sRGB-corrected ASTC-compressed packed 10x5 block format. More...
 
 GraphicsFormatASTC_10x5_UNORM_BLOCK =(67)
 Unsigned normalized ASTC-compressed packed 10x5 block format. More...
 
 GraphicsFormatASTC_10x6_SRGB_BLOCK =(70)
 sRGB-corrected ASTC-compressed packed 10x6 block format. More...
 
 GraphicsFormatASTC_10x6_UNORM_BLOCK =(69)
 Unsigned normalized ASTC-compressed packed 10x6 block format. More...
 
 GraphicsFormatASTC_10x8_SRGB_BLOCK =(72)
 sRGB-corrected ASTC-compressed packed 10x8 block format. More...
 
 GraphicsFormatASTC_10x8_UNORM_BLOCK =(71)
 Unsigned normalized ASTC-compressed packed 10x8 block format. More...
 
 GraphicsFormatASTC_12x10_SRGB_BLOCK =(76)
 sRGB-corrected ASTC-compressed packed 12x10 block format. More...
 
 GraphicsFormatASTC_12x10_UNORM_BLOCK =(75)
 Unsigned normalized ASTC-compressed packed 12x10 block format. More...
 
 GraphicsFormatASTC_12x12_SRGB_BLOCK =(78)
 sRGB-corrected ASTC-compressed packed 12x12 block format. More...
 
 GraphicsFormatASTC_12x12_UNORM_BLOCK =(77)
 Unsigned normalized ASTC-compressed packed 12x12 block format. More...
 
 GraphicsFormatASTC_4x4_SRGB_BLOCK =(52)
 sRGB-corrected ASTC-compressed packed 4x4 block format. More...
 
 GraphicsFormatASTC_4x4_UNORM_BLOCK =(51)
 Unsigned normalized ASTC-compressed packed 4x4 block format. More...
 
 GraphicsFormatASTC_5x4_SRGB_BLOCK =(54)
 sRGB-corrected ASTC-compressed packed 5x4 block format. More...
 
 GraphicsFormatASTC_5x4_UNORM_BLOCK =(53)
 Unsigned normalized ASTC-compressed packed 5x4 block format. More...
 
 GraphicsFormatASTC_5x5_SRGB_BLOCK =(56)
 sRGB-corrected ASTC-compressed packed 5x5 block format. More...
 
 GraphicsFormatASTC_5x5_UNORM_BLOCK =(55)
 Unsigned normalized ASTC-compressed packed 5x5 block format. More...
 
 GraphicsFormatASTC_6x5_SRGB_BLOCK =(58)
 sRGB-corrected ASTC-compressed packed 6x5 block format. More...
 
 GraphicsFormatASTC_6x5_UNORM_BLOCK =(57)
 Unsigned normalized ASTC-compressed packed 6x5 block format. More...
 
 GraphicsFormatASTC_6x6_SRGB_BLOCK =(60)
 sRGB-corrected ASTC-compressed packed 6x6 block format. More...
 
 GraphicsFormatASTC_6x6_UNORM_BLOCK =(59)
 Unsigned normalized ASTC-compressed packed 6x6 block format. More...
 
 GraphicsFormatASTC_8x5_SRGB_BLOCK =(62)
 sRGB-corrected ASTC-compressed packed 8x5 block format. More...
 
 GraphicsFormatASTC_8x5_UNORM_BLOCK =(61)
 Unsigned normalized ASTC-compressed packed 8x5 block format. More...
 
 GraphicsFormatASTC_8x6_SRGB_BLOCK =(64)
 sRGB-corrected ASTC-compressed packed 8x6 block format. More...
 
 GraphicsFormatASTC_8x6_UNORM_BLOCK =(63)
 Unsigned normalized ASTC-compressed packed 8x6 block format. More...
 
 GraphicsFormatASTC_8x8_SRGB_BLOCK =(66)
 sRGB-corrected ASTC-compressed packed 8x8 block format. More...
 
 GraphicsFormatASTC_8x8_UNORM_BLOCK =(65)
 Unsigned normalized ASTC-compressed packed 8x8 block format. More...
 
 GraphicsFormatATC_RGB =(43)
 Three channel RGB ATC compressed format. More...
 
 GraphicsFormatATC_RGBA_EXPLICIT_ALPHA =(44)
 Four channel RGB and alpha compressed format. More...
 
 GraphicsFormatATC_RGBA_INTERPOLATED_ALPHA =(45)
 Four channel RGB and alpha compressed format. More...
 
 GraphicsFormatBC2_UNORM =(35)
 Four channel RGB and alpha DXT3 compressed format, 4 by 4 pixels per block, 128 bits per block. More...
 
 GraphicsFormatBC3_UNORM =(36)
 Four channel RGB and alpha DXT5 compressed format, 4 by 4 pixels per block, 128 bits per block, interpolated alpha. More...
 
 GraphicsFormatCLUT1_UINT =(94)
 Single component 1-bit unsigned integer texture only color lookup table format, 1 bit per component.
 
 GraphicsFormatCLUT2_UINT =(93)
 Single component 2-bit unsigned integer texture only color lookup table format, 2 bits per component.
 
 GraphicsFormatCLUT4_UINT =(92)
 Single component 4-bit unsigned integer texture only color lookup table format, 4 bits per component.
 
 GraphicsFormatCLUT8_UINT =(91)
 Single component 8-bit unsigned integer texture only color lookup table format, 8 bits per component.
 
 GraphicsFormatD16_UNORM =(46)
 Single channel depth 16-bit unsigned normalized format. More...
 
 GraphicsFormatD24_UNORM =(47)
 Single channel depth 24-bit unsigned normalized format.
 
 GraphicsFormatD24_UNORM_S8_UINT =(49)
 Two channel depth stencil format.
 
 GraphicsFormatD32_SFLOAT =(48)
 Single channel depth 32-bit float format.
 
 GraphicsFormatETC1_R8G8B8_UNORM =(31)
 Three channel RGB ETC1 compressed format, 4 by 4 pixels per block, 64 bits per block.
 
 GraphicsFormatETC2_R8G8B8_SRGB =(119)
 Three channel sRGB ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.
 
 GraphicsFormatETC2_R8G8B8_UNORM =(32)
 Three channel RGB ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.
 
 GraphicsFormatETC2_R8G8B8A1_SRGB =(120)
 Four channel sRGB and punchthrough alpha ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.
 
 GraphicsFormatETC2_R8G8B8A1_UNORM =(33)
 Four channel RGB and punchthrough alpha ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.
 
 GraphicsFormatETC2_R8G8B8A8_SRGB =(121)
 Four channel sRGB and alpha ETC2 compressed format, 4 by 4 pixels per block, 128 bits per block.
 
 GraphicsFormatETC2_R8G8B8A8_UNORM =(34)
 Four channel RGB and alpha ETC2 compressed format, 4 by 4 pixels per block, 128 bits per block.
 
 GraphicsFormatFullRangeBegin =(1)
 The first format in the full range of graphics formats, including invalid values.
 
 GraphicsFormatFullRangeEnd =(139)
 The last format in the full range of graphics formats, including invalid values.
 
 GraphicsFormatGlRangeBegin =(1)
 The first format in the range of valid, usable GL graphics formats.
 
 GraphicsFormatGlRangeEnd =(139)
 The last format in the range of valid, usable GL graphics formats.
 
 GraphicsFormatLUMINANCE8_ALPHA8_UNORM =(3)
 Two channel luminance and alpha 8-bit unsigned normalized format, two bytes per pixel.
 
 GraphicsFormatLUMINANCE8_UNORM =(1)
 Single channel luminance 8-bit unsigned normalized format, one byte per pixel.
 
 GraphicsFormatNone =(0)
 Indicates unused, empty or invalid graphics format.
 
 GraphicsFormatPVRTC1_RGB_2BPP =(37)
 Three channel RGB PVR1 compressed format, 8 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC1_RGB_4BPP =(38)
 Three channel RGB PVR1 compressed format, 4 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC1_RGBA_2BPP =(39)
 Four channel RGB and alpha PVR1 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC1_RGBA_4BPP =(40)
 Four channel RGB and alpha PVR1 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC1_SRGB_2BPP =(122)
 Three channel SRGB PVR1 compressed format, 8 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC1_SRGB_4BPP =(123)
 Three channel SRGB PVR1 compressed format, 4 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC1_SRGBA_2BPP =(124)
 Four channel SRGB and alpha PVR1 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC1_SRGBA_4BPP =(125)
 Four channel SRGB and alpha PVR1 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC2_RGBA_2BPP =(41)
 Four channel RGB and alpha PVR2 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC2_RGBA_4BPP =(42)
 Four channel RGB and alpha PVR2 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC2_SRGBA_2BPP =(126)
 Four channel SRGB and alpha PVR2 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatPVRTC2_SRGBA_4BPP =(127)
 Four channel SRGB and alpha PVR2 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block. More...
 
 GraphicsFormatR16_SFLOAT =(20)
 One channel red 16-bit half float format, two bytes per pixel. More...
 
 GraphicsFormatR16_SINT =(19)
 One channel red 16-bit signed integer format, two bytes per pixel. More...
 
 GraphicsFormatR16_SNORM =(112)
 Single channel Red 16-bit signed normalized, two bytes per pixel. More...
 
 GraphicsFormatR16_UINT =(18)
 One channel red 16-bit unsigned integer format, two bytes per pixel. More...
 
 GraphicsFormatR16_UNORM =(111)
 Single channel Red 16-bit unsigned normalized, two bytes per pixel. More...
 
 GraphicsFormatR16G16_SFLOAT =(23)
 Two channel red green 16-bit half float format, four bytes per pixel. More...
 
 GraphicsFormatR16G16_SINT =(22)
 Two channel red green 16-bit signed integer format, four bytes per pixel. More...
 
 GraphicsFormatR16G16_SNORM =(114)
 Two channel RG 16-bit signed normalized, four bytes per pixel. More...
 
 GraphicsFormatR16G16_UINT =(21)
 Two channel red green 16-bit unsigned integer format, four bytes per pixel. More...
 
 GraphicsFormatR16G16_UNORM =(113)
 Two channel RG 16-bit unsigned normalized, four bytes per pixel. More...
 
 GraphicsFormatR16G16B16_SFLOAT =(26)
 Three channel RGB 16-bit half float format, six bytes per pixel. More...
 
 GraphicsFormatR16G16B16_SINT =(25)
 Three channel RGB 16-bit signed integer format, six bytes per pixel. More...
 
 GraphicsFormatR16G16B16_SNORM =(116)
 Three channel RGB 16-bit signed normalized, six bytes per pixel. More...
 
 GraphicsFormatR16G16B16_UINT =(24)
 Three channel RGB 16-bit unsigned integer format, six bytes per pixel. More...
 
 GraphicsFormatR16G16B16_UNORM =(115)
 Three channel RGB 16-bit unsigned normalized, six bytes per pixel. More...
 
 GraphicsFormatR16G16B16A16_SFLOAT =(29)
 Four channel RGBA 16-bit half float format, eight bytes per pixel. More...
 
 GraphicsFormatR16G16B16A16_SINT =(28)
 Four channel RGBA 16-bit signed integer format, eight bytes per pixel. More...
 
 GraphicsFormatR16G16B16A16_SNORM =(118)
 Four channel RGBA 16-bit signed normalized, eight bytes per pixel. More...
 
 GraphicsFormatR16G16B16A16_UINT =(27)
 Four channel RGBA 16-bit unsigned integer format, eight bytes per pixel. More...
 
 GraphicsFormatR16G16B16A16_UNORM =(117)
 Four channel RGBA 16-bit unsigned normalized, eight bytes per pixel. More...
 
 GraphicsFormatR32_SFLOAT =(98)
 One channel red 32-bit float format, four bytes per pixel. More...
 
 GraphicsFormatR32_SINT =(97)
 One channel red 32-bit signed integer format, four byte per pixel. More...
 
 GraphicsFormatR32_UINT =(96)
 One channel red 32-bit unsigned integer format, four bytes per pixel. More...
 
 GraphicsFormatR32G32_SFLOAT =(102)
 Two channel red green 32-bit float format, eight bytes per pixel. More...
 
 GraphicsFormatR32G32_SINT =(101)
 Two channel red green 32-bit signed integer format, eight bytes per pixel. More...
 
 GraphicsFormatR32G32_UINT =(100)
 Two channel red green 32-bit unsigned integer format, eight bytes per pixel. More...
 
 GraphicsFormatR32G32B32_SFLOAT =(106)
 Three channel red green blue 32-bit float format, twelve bytes per pixel. More...
 
 GraphicsFormatR32G32B32_SINT =(105)
 Three channel RGB 32-bit signed integer format, twelve bytes per pixel. More...
 
 GraphicsFormatR32G32B32_UINT =(104)
 Three channel RGB 32-bit unsigned integer format, twelve bytes per pixel. More...
 
 GraphicsFormatR32G32B32A32_SFLOAT =(110)
 Four channel RGB and alpha 32-bit float format, sixteen bytes per pixel. More...
 
 GraphicsFormatR32G32B32A32_SINT =(109)
 Four channel RGBA 32-bit signed integer format, sixteen bytes per pixel. More...
 
 GraphicsFormatR32G32B32A32_UINT =(108)
 Four channel RGBA 32-bit signed integer format, sixteen bytes per pixel. More...
 
 GraphicsFormatR4G4B4A4_UNORM =(89)
 Four channel 4-bit RGB and 4-bit alpha unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatR5G5B5A1_UNORM =(87)
 Four channel 5-bit RGB and 1-bit alpha unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatR5G6B5_UNORM_PACK16 =(30)
 Three channel RGB 5, 6, 5-bit unsigned normalized format, two bytes per pixel.
 
 GraphicsFormatR8_SINT =(6)
 One channel red 8-bit signed integer format, one byte per pixel. More...
 
 GraphicsFormatR8_SNORM =(95)
 One channel red 8-bit signed normalized format, one byte per pixel. More...
 
 GraphicsFormatR8_UINT =(5)
 One channel red 8-bit unsigned integer format, one byte per pixel. More...
 
 GraphicsFormatR8_UNORM =(4)
 One channel red 8-bit unsigned normalized format, one byte per pixel. More...
 
 GraphicsFormatR8G8_SINT =(9)
 Two channel red green 8-bit signed integer format, two bytes per pixel. More...
 
 GraphicsFormatR8G8_SNORM =(99)
 Two channel red green 8-bit signed normalized format, two bytes per pixel. More...
 
 GraphicsFormatR8G8_UINT =(8)
 Two channel red green 8-bit unsigned integer format, two bytes per pixel. More...
 
 GraphicsFormatR8G8_UNORM =(7)
 Two channel red green 8-bit unsigned normalized format, two bytes per pixel. More...
 
 GraphicsFormatR8G8B8_SINT =(13)
 Three channel RGB 8-bit signed integer format, three bytes per pixel. More...
 
 GraphicsFormatR8G8B8_SNORM =(103)
 Three channel RGB 8-bit signed normalized format, three bytes per pixel. More...
 
 GraphicsFormatR8G8B8_SRGB =(11)
 Three channel RGB 8-bit unsigned normalized format in sRGB color space, three bytes per pixel.
 
 GraphicsFormatR8G8B8_UINT =(12)
 Three channel RGB 8-bit unsigned integer format, three bytes per pixel. More...
 
 GraphicsFormatR8G8B8_UNORM =(10)
 Three channel RGB 8-bit unsigned normalized format, three bytes per pixel.
 
 GraphicsFormatR8G8B8A8_SINT =(17)
 Four channel RGBA 8-bit signed integer format, four bytes per pixel. More...
 
 GraphicsFormatR8G8B8A8_SNORM =(107)
 Four channel RGB and alpha 8-bit signed normalized format, four bytes per pixel. More...
 
 GraphicsFormatR8G8B8A8_SRGB =(15)
 Four channel RGB and alpha 8-bit unsigned normalized format in sRGB color space, four bytes per pixel.
 
 GraphicsFormatR8G8B8A8_UINT =(16)
 Four channel RGBA 8-bit unsigned integer format, four bytes per pixel. More...
 
 GraphicsFormatR8G8B8A8_UNORM =(14)
 Four channel RGB and alpha 8-bit unsigned normalized format, four bytes per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_AL1 =(82)
 Two channel aliased single 1-bit alpha/luminance component unsigned normalized texture only format, 1 bit per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_AL17 =(79)
 Two channel 1-bit alpha and 7-bit luminance unsigned normalized format, 8 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_AL2 =(83)
 Two channel aliased single 2-bit alpha/luminance component unsigned normalized texture only format, 2 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_AL4 =(84)
 Two channel aliased single 4-bit alpha/luminance component unsigned normalized texture only format, 4 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_AL44 =(80)
 Two channel 4-bit alpha and 4-bit luminance unsigned normalized format, 8 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_AL8 =(85)
 Two channel aliased single 8-bit alpha/luminance component unsigned normalized texture only format, 8 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_AL88 =(81)
 Two channel alpha and luminance 8-bit unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_ALPHA8 =(2)
 Single channel alpha 8-bit unsigned normalized framebuffer only format, 8 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB1555 =(86)
 Four channel 1-bit alpha and 5-bit RGB unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB4444 =(88)
 Four channel 4-bit alpha and 4-bit RGB unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_ARGB8888 =(90)
 Four channel ARGB 8-bit unsigned normalized format, 32 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_1 =(94)
 Single component 1-bit unsigned integer texture only color lookup table format, 1 bit per component.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_2 =(93)
 Single component 2-bit unsigned integer texture only color lookup table format, 2 bits per component.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_4 =(92)
 Single component 4-bit unsigned integer texture only color lookup table format, 4 bits per component.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_CLUT_8 =(91)
 Single component 8-bit unsigned integer texture only color lookup table format, 8 bits per component.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_LUM8 =(1)
 Single channel luminance 8-bit unsigned normalized framebuffer only format, 8 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_RGB565 =(30)
 Three channel RGB 5, 6, 5-bit unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA4444 =(89)
 Four channel 4-bit RGB and 4-bit alpha unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA5551 =(87)
 Four channel 5-bit RGB and 1-bit alpha unsigned normalized format, 16 bits per pixel.
 
 GraphicsFormatR_DRW2D_PIXELFORMAT_RGBA8888 =(14)
 Four channel RGBA 8-bit unsigned normalized format, 32 bits per pixel.
 
 GraphicsFormatS8_UINT =(50)
 Single channel stencil 8-bit unsigned integer format.
 

Detailed Description

GraphicsFormat specifies format of graphics data used for example in textures and vertex attributes.

Constructor & Destructor Documentation

GraphicsFormat ( int  value)

Constructs a GraphicsFormat of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a GraphicsFormat object.

Parameters
enum_GraphicsFormat to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static GraphicsFormat swigToEnum ( int  swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
static GraphicsFormat toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

Member Data Documentation

GraphicsFormatA16R16G16B16_SFLOAT =(132)

Four channel ARGB 16-bit half float format, eight bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatA16R16G16B16_SINT =(131)

Four channel ARGB 16-bit signed integer format, eight bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatA16R16G16B16_SNORM =(138)

Four channel ARGB 16-bit signed normalized format, eight bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatA16R16G16B16_UINT =(130)

Four channel ARGB 16-bit unsigned integer format, eight bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatA16R16G16B16_UNORM =(137)

Four channel ARGB 16-bit unsigned normalized format, eight bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatA32R32G32B32_SFLOAT =(136)

Four channel ARGB 32-bit float format, sixteen bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatA32R32G32B32_SINT =(135)

Four channel ARGB 32-bit signed integer format, sixteen bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatA32R32G32B32_UINT =(134)

Four channel ARGB 32-bit unsigned integer format, sixteen bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatA8R8G8B8_SINT =(129)

Four channel ARGB 8-bit signed integer format, four bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatA8R8G8B8_SNORM =(133)

Four channel ARGB 8-bit signed normalized format, four bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatA8R8G8B8_UINT =(128)

Four channel ARGB 8-bit unsigned integer format, four bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatASTC_10x10_SRGB_BLOCK =(74)

sRGB-corrected ASTC-compressed packed 10x10 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_10x10_UNORM_BLOCK =(73)

Unsigned normalized ASTC-compressed packed 10x10 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_10x5_SRGB_BLOCK =(68)

sRGB-corrected ASTC-compressed packed 10x5 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_10x5_UNORM_BLOCK =(67)

Unsigned normalized ASTC-compressed packed 10x5 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_10x6_SRGB_BLOCK =(70)

sRGB-corrected ASTC-compressed packed 10x6 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_10x6_UNORM_BLOCK =(69)

Unsigned normalized ASTC-compressed packed 10x6 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_10x8_SRGB_BLOCK =(72)

sRGB-corrected ASTC-compressed packed 10x8 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_10x8_UNORM_BLOCK =(71)

Unsigned normalized ASTC-compressed packed 10x8 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_12x10_SRGB_BLOCK =(76)

sRGB-corrected ASTC-compressed packed 12x10 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_12x10_UNORM_BLOCK =(75)

Unsigned normalized ASTC-compressed packed 12x10 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_12x12_SRGB_BLOCK =(78)

sRGB-corrected ASTC-compressed packed 12x12 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_12x12_UNORM_BLOCK =(77)

Unsigned normalized ASTC-compressed packed 12x12 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_4x4_SRGB_BLOCK =(52)

sRGB-corrected ASTC-compressed packed 4x4 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_4x4_UNORM_BLOCK =(51)

Unsigned normalized ASTC-compressed packed 4x4 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_5x4_SRGB_BLOCK =(54)

sRGB-corrected ASTC-compressed packed 5x4 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_5x4_UNORM_BLOCK =(53)

Unsigned normalized ASTC-compressed packed 5x4 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_5x5_SRGB_BLOCK =(56)

sRGB-corrected ASTC-compressed packed 5x5 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_5x5_UNORM_BLOCK =(55)

Unsigned normalized ASTC-compressed packed 5x5 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_6x5_SRGB_BLOCK =(58)

sRGB-corrected ASTC-compressed packed 6x5 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_6x5_UNORM_BLOCK =(57)

Unsigned normalized ASTC-compressed packed 6x5 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_6x6_SRGB_BLOCK =(60)

sRGB-corrected ASTC-compressed packed 6x6 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_6x6_UNORM_BLOCK =(59)

Unsigned normalized ASTC-compressed packed 6x6 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_8x5_SRGB_BLOCK =(62)

sRGB-corrected ASTC-compressed packed 8x5 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_8x5_UNORM_BLOCK =(61)

Unsigned normalized ASTC-compressed packed 8x5 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_8x6_SRGB_BLOCK =(64)

sRGB-corrected ASTC-compressed packed 8x6 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_8x6_UNORM_BLOCK =(63)

Unsigned normalized ASTC-compressed packed 8x6 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_8x8_SRGB_BLOCK =(66)

sRGB-corrected ASTC-compressed packed 8x8 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatASTC_8x8_UNORM_BLOCK =(65)

Unsigned normalized ASTC-compressed packed 8x8 block format.


Note: Do not change the ordering of ASTC entries in this enum.

GraphicsFormatATC_RGB =(43)
GraphicsFormatATC_RGBA_EXPLICIT_ALPHA =(44)

Four channel RGB and alpha compressed format.


See also
https://www.khronos.org/registry/gles/extensions/AMD/AMD_compressed_ATC_texture.txt
GraphicsFormatATC_RGBA_INTERPOLATED_ALPHA =(45)

Four channel RGB and alpha compressed format.


See also
https://www.khronos.org/registry/gles/extensions/AMD/AMD_compressed_ATC_texture.txt
GraphicsFormatBC2_UNORM =(35)

Four channel RGB and alpha DXT3 compressed format, 4 by 4 pixels per block, 128 bits per block.


See also
https://www.khronos.org/registry/gles/extensions/EXT/texture_compression_s3tc.txt
GraphicsFormatBC3_UNORM =(36)

Four channel RGB and alpha DXT5 compressed format, 4 by 4 pixels per block, 128 bits per block, interpolated alpha.


See also
https://www.khronos.org/registry/gles/extensions/EXT/texture_compression_s3tc.txt
GraphicsFormatD16_UNORM =(46)

Single channel depth 16-bit unsigned normalized format.


See also
https://www.khronos.org/registry/gles/extensions/OES/OES_depth_texture.txt
GraphicsFormatPVRTC1_RGB_2BPP =(37)

Three channel RGB PVR1 compressed format, 8 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
GraphicsFormatPVRTC1_RGB_4BPP =(38)

Three channel RGB PVR1 compressed format, 4 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
GraphicsFormatPVRTC1_RGBA_2BPP =(39)

Four channel RGB and alpha PVR1 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
GraphicsFormatPVRTC1_RGBA_4BPP =(40)

Four channel RGB and alpha PVR1 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
GraphicsFormatPVRTC1_SRGB_2BPP =(122)

Three channel SRGB PVR1 compressed format, 8 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
GraphicsFormatPVRTC1_SRGB_4BPP =(123)

Three channel SRGB PVR1 compressed format, 4 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
GraphicsFormatPVRTC1_SRGBA_2BPP =(124)

Four channel SRGB and alpha PVR1 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
GraphicsFormatPVRTC1_SRGBA_4BPP =(125)

Four channel SRGB and alpha PVR1 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
GraphicsFormatPVRTC2_RGBA_2BPP =(41)

Four channel RGB and alpha PVR2 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc2.txt
GraphicsFormatPVRTC2_RGBA_4BPP =(42)

Four channel RGB and alpha PVR2 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc2.txt
GraphicsFormatPVRTC2_SRGBA_2BPP =(126)

Four channel SRGB and alpha PVR2 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
GraphicsFormatPVRTC2_SRGBA_4BPP =(127)

Four channel SRGB and alpha PVR2 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
GraphicsFormatR16_SFLOAT =(20)

One channel red 16-bit half float format, two bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatR16_SINT =(19)

One channel red 16-bit signed integer format, two bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR16_SNORM =(112)

Single channel Red 16-bit signed normalized, two bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16_UINT =(18)

One channel red 16-bit unsigned integer format, two bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR16_UNORM =(111)

Single channel Red 16-bit unsigned normalized, two bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16_SFLOAT =(23)

Two channel red green 16-bit half float format, four bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatR16G16_SINT =(22)

Two channel red green 16-bit signed integer format, four bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR16G16_SNORM =(114)

Two channel RG 16-bit signed normalized, four bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16_UINT =(21)

Two channel red green 16-bit unsigned integer format, four bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR16G16_UNORM =(113)

Two channel RG 16-bit unsigned normalized, four bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16B16_SFLOAT =(26)

Three channel RGB 16-bit half float format, six bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatR16G16B16_SINT =(25)

Three channel RGB 16-bit signed integer format, six bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR16G16B16_SNORM =(116)

Three channel RGB 16-bit signed normalized, six bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16B16_UINT =(24)

Three channel RGB 16-bit unsigned integer format, six bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR16G16B16_UNORM =(115)

Three channel RGB 16-bit unsigned normalized, six bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16B16A16_SFLOAT =(29)

Four channel RGBA 16-bit half float format, eight bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatR16G16B16A16_SINT =(28)

Four channel RGBA 16-bit signed integer format, eight bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatR16G16B16A16_SNORM =(118)

Four channel RGBA 16-bit signed normalized, eight bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR16G16B16A16_UINT =(27)

Four channel RGBA 16-bit unsigned integer format, eight bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatR16G16B16A16_UNORM =(117)

Four channel RGBA 16-bit unsigned normalized, eight bytes per pixel.


See also
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
GraphicsFormatR32_SFLOAT =(98)

One channel red 32-bit float format, four bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatR32_SINT =(97)

One channel red 32-bit signed integer format, four byte per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR32_UINT =(96)

One channel red 32-bit unsigned integer format, four bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR32G32_SFLOAT =(102)

Two channel red green 32-bit float format, eight bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatR32G32_SINT =(101)

Two channel red green 32-bit signed integer format, eight bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR32G32_UINT =(100)

Two channel red green 32-bit unsigned integer format, eight bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR32G32B32_SFLOAT =(106)

Three channel red green blue 32-bit float format, twelve bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatR32G32B32_SINT =(105)

Three channel RGB 32-bit signed integer format, twelve bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR32G32B32_UINT =(104)

Three channel RGB 32-bit unsigned integer format, twelve bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR32G32B32A32_SFLOAT =(110)

Four channel RGB and alpha 32-bit float format, sixteen bytes per pixel.


Note: Requires OpenGL ES 3 or ES 2 with extensions.

GraphicsFormatR32G32B32A32_SINT =(109)

Four channel RGBA 32-bit signed integer format, sixteen bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatR32G32B32A32_UINT =(108)

Four channel RGBA 32-bit signed integer format, sixteen bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatR8_SINT =(6)

One channel red 8-bit signed integer format, one byte per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR8_SNORM =(95)

One channel red 8-bit signed normalized format, one byte per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatR8_UINT =(5)

One channel red 8-bit unsigned integer format, one byte per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR8_UNORM =(4)

One channel red 8-bit unsigned normalized format, one byte per pixel.


Note: Requires OpenGL ES 3 or rg texture extension.

GraphicsFormatR8G8_SINT =(9)

Two channel red green 8-bit signed integer format, two bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR8G8_SNORM =(99)

Two channel red green 8-bit signed normalized format, two bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatR8G8_UINT =(8)

Two channel red green 8-bit unsigned integer format, two bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR8G8_UNORM =(7)

Two channel red green 8-bit unsigned normalized format, two bytes per pixel.


Note: Requires OpenGL ES 3 or rg texture extension.

GraphicsFormatR8G8B8_SINT =(13)

Three channel RGB 8-bit signed integer format, three bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR8G8B8_SNORM =(103)

Three channel RGB 8-bit signed normalized format, three bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatR8G8B8_UINT =(12)

Three channel RGB 8-bit unsigned integer format, three bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR8G8B8A8_SINT =(17)

Four channel RGBA 8-bit signed integer format, four bytes per pixel.


Note: Requires OpenGL ES 3.

GraphicsFormatR8G8B8A8_SNORM =(107)

Four channel RGB and alpha 8-bit signed normalized format, four bytes per pixel.


Note: Requires OpenGL ES 3

GraphicsFormatR8G8B8A8_UINT =(16)

Four channel RGBA 8-bit unsigned integer format, four bytes per pixel.


Note: Requires OpenGL ES 3.