ImageFormat ATI_DST24

book_4_sparkGenerated
code_blocksInput

Description

The ATI_DST24 field is a member of the ImageFormat enumeration in the Sandbox namespace. This field represents a specific image format used for depth-stencil textures, particularly optimized for ATI graphics hardware. The format is 24-bit depth, which is commonly used in rendering pipelines for depth buffering.

Usage

Use ImageFormat.ATI_DST24 when you need to specify a 24-bit depth format for textures in your rendering pipeline, especially when targeting ATI hardware. This format is typically used in scenarios where depth precision is crucial, such as in 3D rendering applications.

Example

// Example of using ATI_DST24 in a texture creation
Texture depthTexture = new Texture();
depthTexture.Format = ImageFormat.ATI_DST24;
depthTexture.Create(1024, 1024);