Click or drag to resize

TextureFormat Enumeration

Specifies the format of a texture's data.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public enum TextureFormat
Members
Member nameValueDescription
BC10 Block compression with three color channels, 1 bit alpha.
BC21 Block compression with three color channels, 4 bits alpha.
BC32 Block compression with three color channels, 8 bits alpha.
BC43 Block compression for 1-channel color.
BC54 Block compression for 2-channel color.
BC6H5 Block compression for three-channel HDR color.
BC76 Highest quality block compression.
ETC17 Original ETC block compression.
ETC28 Improved ETC block compression (no alpha).
ETC2A9 Improved ETC block compression with full alpha.
ETC2A110 Improved ETC block compression with 1-bit punchthrough alpha.
EACR1111 ETC2 Alpha Compression, single 11-bit red channel, unsigned normalized. 4 BPP.
EACR11S12 ETC2 Alpha Compression, single 11-bit red channel, signed normalized. 4 BPP.
EACRG1113 ETC2 Alpha Compression, two 11-bit channels (RG), unsigned normalized. 8 BPP.
EACRG11S14 ETC2 Alpha Compression, two 11-bit channels (RG), signed normalized. 8 BPP.
PTC1215 PVRTC1 compression (2 bits per pixel)
PTC1416 PVRTC1 compression (4 bits per pixel)
PTC12A17 PVRTC1 compression with alpha (2 bits per pixel)
PTC14A18 PVRTC1 compression with alpha (4 bits per pixel)
PTC2219 PVRTC2 compression with alpha (2 bits per pixel)
PTC2420 PVRTC2 compression with alpha (4 bits per pixel)
ATC21 ATC RGB (4 bits per pixel)
ATCE22 ATCE RGBA with explicit alpha (8 bits per pixel)
ATCI23 ATCE RGBA with interpolated alpha (8 bits per pixel)
ASTC4x424 ASTC 4x4 8.0 bpp
ASTC5x425 ASTC 5x4 6.40 bpp
ASTC5x526 ASTC 5x5 5.12 bpp
ASTC6x527 ASTC 6x5 4.27 bpp
ASTC6x628 ASTC 6x6 3.56 bpp
ASTC8x529 ASTC 8x5 3.20 bpp
ASTC8x630 ASTC 8x6 2.67 bpp
ASTC8x831 ASTC 8x8 2.00 bpp
ASTC10x532 ASTC 10x5 2.56 bpp
ASTC10x633 ASTC 10x6 2.13 bpp
ASTC10x834 ASTC 10x8 1.60 bpp
ASTC10x1035 ASTC 10x10 1.28 bpp
ASTC12x1036 ASTC 12x10 1.07 bpp
ASTC12x1237 ASTC 12x12 0.89 bpp
Unknown38 Unknown texture format.
R139 1-bit single channel.
A840 8-bit single channel (alpha).
R841 8-bit single channel.
R8I42 8-bit single channel (integer).
R8U43 8-bit single channel (unsigned).
R8S44 8-bit single channel (signed).
R1645 16-bit single channel.
R16I46 16-bit single channel (integer).
R16U47 16-bit single channel (unsigned).
R16F48 16-bit single channel (float).
R16S49 16-bit single channel (signed).
R32I50 32-bit single channel (integer).
R32U51 32-bit single channel (unsigned).
R32F52 32-bit single channel (float).
RG853 8-bit two channel.
RG8I54 8-bit two channel (integer).
RG8U55 8-bit two channel (unsigned).
RG8S56 8-bit two channel (signed).
RG1657 16-bit two channel.
RG16I58 16-bit two channel (integer).
RG16U59 16-bit two channel (unsigned).
RG16F60 16-bit two channel (float).
RG16S61 16-bit two channel (signed).
RG32I62 32-bit two channel (integer).
RG32U63 32-bit two channel (unsigned).
RG32F64 32-bit two channel (float).
RGB865 8-bit three channel.
RGB8I66 8-bit three channel (integer).
RGB8U67 8-bit three channel (unsigned).
RGB8S68 8-bit three channel (signed).
RGB9E5F69 9-bit three channel floating point with shared 5-bit exponent.
BGRA870 8-bit BGRA color.
RGBA871 8-bit RGBA color.
RGBA8I72 8-bit RGBA color (integer).
RGBA8U73 8-bit RGBA color (unsigned).
RGBA8S74 8-bit RGBA color (signed).
RGBA1675 16-bit RGBA color.
RGBA16I76 16-bit RGBA color (integer).
RGBA16U77 16-bit RGBA color (unsigned).
RGBA16F78 16-bit RGBA color (float).
RGBA16S79 16-bit RGBA color (signed).
RGBA32I80 32-bit RGBA color (integer).
RGBA32U81 32-bit RGBA color (unsigned).
RGBA32F82 32-bit RGBA color (float).
B5G6R583 
R5G6B584 5-6-6 color.
BGRA485 
RGBA486 4-bit RGBA color.
BGR5A187 
RGB5A188 5-bit RGB color with 1-bit alpha.
RGB10A289 10-bit RGB color with 2-bit alpha.
RG11B10F90 11-11-10 color (float).
UnknownDepth91 Unknown depth format.
D1692 16-bit depth.
D2493 24-bit depth.
D24S894 24-bit depth, 8-bit stencil.
D3295 32-bit depth.
D16F96 16-bit depth (float).
D24F97 24-bit depth (float).
D32F98 32-bit depth (float).
D0S899 8-bit stencil.
Count100 The count of all texture formats. Not a valid value.
Remarks
Check Caps flags for hardware format support.
See Also