Module format

Structs§

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

Constants§

A1R5G5B5_UNORM
Four channel 1-bit alpha and 5-bit RGB unsigned normalized format, 16 bits per pixel.
A4R4G4B4_UNORM
Four channel 4-bit alpha and 4-bit RGB unsigned normalized format, 16 bits per pixel.
A8R8G8B8_SINT
Four channel ARGB 8-bit signed integer format, four bytes per pixel. Note: Requires OpenGL ES 3.
A8R8G8B8_SNORM
Four channel ARGB 8-bit signed normalized format, four bytes per pixel. Note: Requires OpenGL ES 3
A8R8G8B8_UINT
Four channel ARGB 8-bit unsigned integer format, four bytes per pixel. Note: Requires OpenGL ES 3.
A8R8G8B8_UNORM
Four channel ARGB 8-bit unsigned normalized format, 32 bits per pixel.
A16R16G16B16_SFLOAT
Four channel ARGB 16-bit half float format, eight bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
A16R16G16B16_SINT
Four channel ARGB 16-bit signed integer format, eight bytes per pixel. Note: Requires OpenGL ES 3
A16R16G16B16_SNORM
Four channel ARGB 16-bit signed normalized format, eight bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
A16R16G16B16_UINT
Four channel ARGB 16-bit unsigned integer format, eight bytes per pixel. Note: Requires OpenGL ES 3
A16R16G16B16_UNORM
Four channel ARGB 16-bit unsigned normalized format, eight bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
A32R32G32B32_SFLOAT
Four channel ARGB 32-bit float format, sixteen bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
A32R32G32B32_SINT
Four channel ARGB 32-bit signed integer format, sixteen bytes per pixel. Note: Requires OpenGL ES 3
A32R32G32B32_UINT
Four channel ARGB 32-bit unsigned integer format, sixteen bytes per pixel. Note: Requires OpenGL ES 3
ALPHA1_LUMINANCE7_UNORM
Two channel 1-bit alpha and 7-bit luminance unsigned normalized format, 8 bits per pixel.
ALPHA4_LUMINANCE4_UNORM
Two channel 4-bit alpha and 4-bit luminance unsigned normalized format, 8 bits per pixel.
ALPHA8_LUMINANCE8_UNORM
Two channel alpha and luminance 8-bit unsigned normalized format, 16 bits per pixel.
ALPHA8_UNORM
Single channel alpha 8-bit unsigned normalized format, one byte per pixel.
ALPHALUMINANCE1_UNORM
Two channel aliased single 1-bit alpha/luminance component unsigned normalized texture only format, 1 bit per pixel.
ALPHALUMINANCE2_UNORM
Two channel aliased single 2-bit alpha/luminance component unsigned normalized texture only format, 2 bits per pixel.
ALPHALUMINANCE4_UNORM
Two channel aliased single 4-bit alpha/luminance component unsigned normalized texture only format, 4 bits per pixel.
ALPHALUMINANCE8_UNORM
Two channel aliased single 8-bit alpha/luminance component unsigned normalized texture only format, 8 bits per pixel.
AST_C_4X4__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 4x4 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_4X4__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 4x4 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_5X4__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 5x4 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_5X4__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 5x4 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_5X5__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 5x5 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_5X5__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 5x5 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_6X5__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 6x5 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_6X5__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 6x5 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_6X6__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 6x6 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_6X6__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 6x6 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_8X5__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 8x5 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_8X5__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 8x5 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_8X6__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 8x6 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_8X6__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 8x6 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_8X8__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 8x8 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_8X8__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 8x8 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_10X5__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 10x5 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_10X5__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 10x5 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_10X6__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 10x6 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_10X6__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 10x6 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_10X8__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 10x8 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_10X8__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 10x8 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_10X10__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 10x10 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_10X10__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 10x10 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_12X10__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 12x10 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_12X10__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 12x10 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_12X12__SRG_B__BLOCK
sRGB-corrected ASTC-compressed packed 12x12 block format. Note: Do not change the ordering of ASTC entries in this enum.
AST_C_12X12__UNOR_M__BLOCK
Unsigned normalized ASTC-compressed packed 12x12 block format. Note: Do not change the ordering of ASTC entries in this enum.
ATC_RGB
Three channel RGB ATC compressed format. See: https://www.khronos.org/registry/gles/extensions/AMD/AMD_compressed_ATC_texture.txt
ATC_RGBA_EXPLICIT_ALPHA
Four channel RGB and alpha compressed format. See: https://www.khronos.org/registry/gles/extensions/AMD/AMD_compressed_ATC_texture.txt
ATC_RGBA_INTERPOLATED_ALPHA
Four channel RGB and alpha compressed format. See: https://www.khronos.org/registry/gles/extensions/AMD/AMD_compressed_ATC_texture.txt
BC2_UNORM
Four channel RGB and alpha DXT3 compressed format, 4 by 4 pixels per block, 128 bits per block. See: https://www.khronos.org/registry/gles/extensions/EXT/texture_compression_s3tc.txt
BC3_UNORM
Four channel RGB and alpha DXT5 compressed format, 4 by 4 pixels per block, 128 bits per block, interpolated alpha. See: https://www.khronos.org/registry/gles/extensions/EXT/texture_compression_s3tc.txt
CLUT1_UINT
Single component 1-bit unsigned integer texture only color lookup table format, 1 bit per component.
CLUT2_UINT
Single component 2-bit unsigned integer texture only color lookup table format, 2 bits per component.
CLUT4_UINT
Single component 4-bit unsigned integer texture only color lookup table format, 4 bits per component.
CLUT8_UINT
Single component 8-bit unsigned integer texture only color lookup table format, 8 bits per component.
D16_UNORM
Single channel depth 16-bit unsigned normalized format. See: https://www.khronos.org/registry/gles/extensions/OES/OES_depth_texture.txt
D24_UNORM
Single channel depth 24-bit unsigned normalized format.
D24_UNORM_S8_UINT
Two channel depth stencil format.
D32_SFLOAT
Single channel depth 32-bit float format.
ETC1_R8G8B8_UNORM
Three channel RGB ETC1 compressed format, 4 by 4 pixels per block, 64 bits per block.
ETC2_R8G8B8A1_SRGB
Four channel sRGB and punchthrough alpha ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.
ETC2_R8G8B8A1_UNORM
Four channel RGB and punchthrough alpha ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.
ETC2_R8G8B8A8_SRGB
Four channel sRGB and alpha ETC2 compressed format, 4 by 4 pixels per block, 128 bits per block.
ETC2_R8G8B8A8_UNORM
Four channel RGB and alpha ETC2 compressed format, 4 by 4 pixels per block, 128 bits per block.
ETC2_R8G8B8_SRGB
Three channel sRGB ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.
ETC2_R8G8B8_UNORM
Three channel RGB ETC2 compressed format, 4 by 4 pixels per block, 64 bits per block.
FULL_RANGE_BEGIN
The first format in the full range of graphics formats, including invalid values.
FULL_RANGE_END
The last format in the full range of graphics formats, including invalid values.
GL_RANGE_BEGIN
The first format in the range of valid, usable GL graphics formats.
GL_RANGE_END
The last format in the range of valid, usable GL graphics formats.
LUMINANCE8_ALPHA8_UNORM
Two channel luminance and alpha 8-bit unsigned normalized format, two bytes per pixel.
LUMINANCE8_UNORM
Single channel luminance 8-bit unsigned normalized format, one byte per pixel.
NONE
Indicates unused, empty or invalid graphics format.
PVRTC1_RGBA_2BPP
Four channel RGB and alpha PVR1 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
PVRTC1_RGBA_4BPP
Four channel RGB and alpha PVR1 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
PVRTC1_RGB_2BPP
Three channel RGB PVR1 compressed format, 8 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
PVRTC1_RGB_4BPP
Three channel RGB PVR1 compressed format, 4 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
PVRTC1_SRGBA_2BPP
Four channel SRGB and alpha PVR1 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
PVRTC1_SRGBA_4BPP
Four channel SRGB and alpha PVR1 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
PVRTC1_SRGB_2BPP
Three channel SRGB PVR1 compressed format, 8 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
PVRTC1_SRGB_4BPP
Three channel SRGB PVR1 compressed format, 4 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
PVRTC2_RGBA_2BPP
Four channel RGB and alpha PVR2 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc2.txt
PVRTC2_RGBA_4BPP
Four channel RGB and alpha PVR2 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc2.txt
PVRTC2_SRGBA_2BPP
Four channel SRGB and alpha PVR2 compressed format, 2 bits per pixel, 8 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
PVRTC2_SRGBA_4BPP
Four channel SRGB and alpha PVR2 compressed format, 4 bits per pixel, 4 by 4 pixels per block, 64 bits per block. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_pvrtc_sRGB.txt
R4G4B4A4_UNORM
Four channel 4-bit RGB and 4-bit alpha unsigned normalized format, 16 bits per pixel.
R5G5B5A1_UNORM
Four channel 5-bit RGB and 1-bit alpha unsigned normalized format, 16 bits per pixel.
R5G6B5_UNORM_PACK16
Three channel RGB 5, 6, 5-bit unsigned normalized format, two bytes per pixel.
R8G8B8A8_SINT
Four channel RGBA 8-bit signed integer format, four bytes per pixel. Note: Requires OpenGL ES 3.
R8G8B8A8_SNORM
Four channel RGB and alpha 8-bit signed normalized format, four bytes per pixel. Note: Requires OpenGL ES 3
R8G8B8A8_SRGB
Four channel RGB and alpha 8-bit unsigned normalized format in sRGB color space, four bytes per pixel.
R8G8B8A8_UINT
Four channel RGBA 8-bit unsigned integer format, four bytes per pixel. Note: Requires OpenGL ES 3.
R8G8B8A8_UNORM
Four channel RGB and alpha 8-bit unsigned normalized format, four bytes per pixel.
R8G8B8_SINT
Three channel RGB 8-bit signed integer format, three bytes per pixel. Note: Requires OpenGL ES 3.
R8G8B8_SNORM
Three channel RGB 8-bit signed normalized format, three bytes per pixel. Note: Requires OpenGL ES 3
R8G8B8_SRGB
Three channel RGB 8-bit unsigned normalized format in sRGB color space, three bytes per pixel.
R8G8B8_UINT
Three channel RGB 8-bit unsigned integer format, three bytes per pixel. Note: Requires OpenGL ES 3.
R8G8B8_UNORM
Three channel RGB 8-bit unsigned normalized format, three bytes per pixel.
R8G8_SINT
Two channel red green 8-bit signed integer format, two bytes per pixel. Note: Requires OpenGL ES 3.
R8G8_SNORM
Two channel red green 8-bit signed normalized format, two bytes per pixel. Note: Requires OpenGL ES 3
R8G8_UINT
Two channel red green 8-bit unsigned integer format, two bytes per pixel. Note: Requires OpenGL ES 3.
R8G8_UNORM
Two channel red green 8-bit unsigned normalized format, two bytes per pixel. Note: Requires OpenGL ES 3 or rg texture extension.
R8_SINT
One channel red 8-bit signed integer format, one byte per pixel. Note: Requires OpenGL ES 3.
R8_SNORM
One channel red 8-bit signed normalized format, one byte per pixel. Note: Requires OpenGL ES 3
R8_UINT
One channel red 8-bit unsigned integer format, one byte per pixel. Note: Requires OpenGL ES 3.
R8_UNORM
One channel red 8-bit unsigned normalized format, one byte per pixel. Note: Requires OpenGL ES 3 or rg texture extension.
R16G16B16A16_SFLOAT
Four channel RGBA 16-bit half float format, eight bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
R16G16B16A16_SINT
Four channel RGBA 16-bit signed integer format, eight bytes per pixel. Note: Requires OpenGL ES 3
R16G16B16A16_SNORM
Four channel RGBA 16-bit signed normalized, eight bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
R16G16B16A16_UINT
Four channel RGBA 16-bit unsigned integer format, eight bytes per pixel. Note: Requires OpenGL ES 3
R16G16B16A16_UNORM
Four channel RGBA 16-bit unsigned normalized, eight bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
R16G16B16_SFLOAT
Three channel RGB 16-bit half float format, six bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
R16G16B16_SINT
Three channel RGB 16-bit signed integer format, six bytes per pixel. Note: Requires OpenGL ES 3.
R16G16B16_SNORM
Three channel RGB 16-bit signed normalized, six bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
R16G16B16_UINT
Three channel RGB 16-bit unsigned integer format, six bytes per pixel. Note: Requires OpenGL ES 3.
R16G16B16_UNORM
Three channel RGB 16-bit unsigned normalized, six bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
R16G16_SFLOAT
Two channel red green 16-bit half float format, four bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
R16G16_SINT
Two channel red green 16-bit signed integer format, four bytes per pixel. Note: Requires OpenGL ES 3.
R16G16_SNORM
Two channel RG 16-bit signed normalized, four bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
R16G16_UINT
Two channel red green 16-bit unsigned integer format, four bytes per pixel. Note: Requires OpenGL ES 3.
R16G16_UNORM
Two channel RG 16-bit unsigned normalized, four bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
R16_SFLOAT
One channel red 16-bit half float format, two bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
R16_SINT
One channel red 16-bit signed integer format, two bytes per pixel. Note: Requires OpenGL ES 3.
R16_SNORM
Single channel Red 16-bit signed normalized, two bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
R16_UINT
One channel red 16-bit unsigned integer format, two bytes per pixel. Note: Requires OpenGL ES 3.
R16_UNORM
Single channel Red 16-bit unsigned normalized, two bytes per pixel. See: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
R32G32B32A32_SFLOAT
Four channel RGB and alpha 32-bit float format, sixteen bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
R32G32B32A32_SINT
Four channel RGBA 32-bit signed integer format, sixteen bytes per pixel. Note: Requires OpenGL ES 3
R32G32B32A32_UINT
Four channel RGBA 32-bit signed integer format, sixteen bytes per pixel. Note: Requires OpenGL ES 3
R32G32B32_SFLOAT
Three channel red green blue 32-bit float format, twelve bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
R32G32B32_SINT
Three channel RGB 32-bit signed integer format, twelve bytes per pixel. Note: Requires OpenGL ES 3.
R32G32B32_UINT
Three channel RGB 32-bit unsigned integer format, twelve bytes per pixel. Note: Requires OpenGL ES 3.
R32G32_SFLOAT
Two channel red green 32-bit float format, eight bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
R32G32_SINT
Two channel red green 32-bit signed integer format, eight bytes per pixel. Note: Requires OpenGL ES 3.
R32G32_UINT
Two channel red green 32-bit unsigned integer format, eight bytes per pixel. Note: Requires OpenGL ES 3.
R32_SFLOAT
One channel red 32-bit float format, four bytes per pixel. Note: Requires OpenGL ES 3 or ES 2 with extensions.
R32_SINT
One channel red 32-bit signed integer format, four byte per pixel. Note: Requires OpenGL ES 3.
R32_UINT
One channel red 32-bit unsigned integer format, four bytes per pixel. Note: Requires OpenGL ES 3.
R_DRW2D_PIXELFORMAT_AL1
Two channel aliased single 1-bit alpha/luminance component unsigned normalized texture only format, 1 bit per pixel.
R_DRW2D_PIXELFORMAT_AL2
Two channel aliased single 2-bit alpha/luminance component unsigned normalized texture only format, 2 bits per pixel.
R_DRW2D_PIXELFORMAT_AL4
Two channel aliased single 4-bit alpha/luminance component unsigned normalized texture only format, 4 bits per pixel.
R_DRW2D_PIXELFORMAT_AL8
Two channel aliased single 8-bit alpha/luminance component unsigned normalized texture only format, 8 bits per pixel.
R_DRW2D_PIXELFORMAT_AL17
Two channel 1-bit alpha and 7-bit luminance unsigned normalized format, 8 bits per pixel.
R_DRW2D_PIXELFORMAT_AL44
Two channel 4-bit alpha and 4-bit luminance unsigned normalized format, 8 bits per pixel.
R_DRW2D_PIXELFORMAT_AL88
Two channel alpha and luminance 8-bit unsigned normalized format, 16 bits per pixel.
R_DRW2D_PIXELFORMAT_ALPHA8
Single channel alpha 8-bit unsigned normalized framebuffer only format, 8 bits per pixel.
R_DRW2D_PIXELFORMAT_ARGB1555
Four channel 1-bit alpha and 5-bit RGB unsigned normalized format, 16 bits per pixel.
R_DRW2D_PIXELFORMAT_ARGB4444
Four channel 4-bit alpha and 4-bit RGB unsigned normalized format, 16 bits per pixel.
R_DRW2D_PIXELFORMAT_ARGB8888
Four channel ARGB 8-bit unsigned normalized format, 32 bits per pixel.
R_DRW2D_PIXELFORMAT_CLUT_1
Single component 1-bit unsigned integer texture only color lookup table format, 1 bit per component.
R_DRW2D_PIXELFORMAT_CLUT_2
Single component 2-bit unsigned integer texture only color lookup table format, 2 bits per component.
R_DRW2D_PIXELFORMAT_CLUT_4
Single component 4-bit unsigned integer texture only color lookup table format, 4 bits per component.
R_DRW2D_PIXELFORMAT_CLUT_8
Single component 8-bit unsigned integer texture only color lookup table format, 8 bits per component.
R_DRW2D_PIXELFORMAT_LUM8
Single channel luminance 8-bit unsigned normalized framebuffer only format, 8 bits per pixel.
R_DRW2D_PIXELFORMAT_RGB565
Three channel RGB 5, 6, 5-bit unsigned normalized format, 16 bits per pixel.
R_DRW2D_PIXELFORMAT_RGBA4444
Four channel 4-bit RGB and 4-bit alpha unsigned normalized format, 16 bits per pixel.
R_DRW2D_PIXELFORMAT_RGBA5551
Four channel 5-bit RGB and 1-bit alpha unsigned normalized format, 16 bits per pixel.
R_DRW2D_PIXELFORMAT_RGBA8888
Four channel RGBA 8-bit unsigned normalized format, 32 bits per pixel.
S8_UINT
Single channel stencil 8-bit unsigned integer format.