Home -> ITextureBuffer -> DataFormat

Description

The DataFormat enumeration defines the physical encoding used for each allocated texture component or compressed texture cell. It is paired with ImageFormat when SetTextureFormat is called.

Members

Name Description
Public Enum Int8
Stores each component as an 8-bit signed integer.
Public Enum Int16
Stores each component as a 16-bit signed integer.
Public Enum Int32
Stores each component as a 32-bit signed integer.
Public Enum UInt8
Stores each component as an 8-bit unsigned integer.
Public Enum UInt16
Stores each component as a 16-bit unsigned integer.
Public Enum UInt32
Stores each component as a 32-bit unsigned integer.
Public Enum Norm8
Stores each component as an 8-bit signed normalized value.
Public Enum Norm16
Stores each component as a 16-bit signed normalized value.
Public Enum UNorm8
Stores each component as an 8-bit unsigned normalized value.
Public Enum UNorm16
Stores each component as a 16-bit unsigned normalized value.
Public Enum Float16
Stores each component as a 16-bit floating point value.
Public Enum Float32
Stores each component as a 32-bit floating point value.
Public Enum DXT1
Stores image data using DXT1 or BC1 block compression.
Public Enum DXT3
Stores image data using DXT3 or BC2 block compression.
Public Enum DXT5
Stores image data using DXT5 or BC3 block compression.
Public Enum BPTC
Stores image data using BPTC or BC7-style block compression where supported.
Public Enum ETC2
Stores image data using ETC2 block compression where supported.
Public Enum ASTC4x4
Stores image data using ASTC compression with 4 by 4 pixel blocks.
Public Enum ASTC5x5
Stores image data using ASTC compression with 5 by 5 pixel blocks.
Public Enum ASTC6x6
Stores image data using ASTC compression with 6 by 6 pixel blocks.
Public Enum ASTC8x8
Stores image data using ASTC compression with 8 by 8 pixel blocks.
Public Enum DepthUNorm16
Stores depth as a 16-bit unsigned normalized value.
Public Enum DepthUNorm24
Stores depth as a 24-bit unsigned normalized value.
Public Enum DepthUNorm24StencilUInt8
Stores combined 24-bit unsigned normalized depth and 8-bit unsigned integer stencil data.
Public Enum DepthFloat32
Stores depth as a 32-bit floating point value.
Public Enum DepthFloat32StencilUInt8
Stores combined 32-bit floating point depth and 8-bit unsigned integer stencil data.

See also