ImageFormat X360_DST24

book_4_sparkGenerated
code_blocksInput

Description

The X360_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 on the Xbox 360 platform. The format is 24-bit depth, which is commonly used for rendering depth information in 3D graphics.

Usage

Use ImageFormat.X360_DST24 when you need to specify a 24-bit depth format for textures, particularly when targeting the Xbox 360 platform. This format is suitable for applications that require depth information without stencil data.

Example

// Example of using ImageFormat.X360_DST24
Texture texture = new Texture();
texture.Format = ImageFormat.X360_DST24;

// Use the texture in a rendering pipeline
Scene.Current.AddTexture(texture);