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, with a 24-bit depth component. It is a static, public field, meaning it can be accessed without instantiating the ImageFormat
enum.
Usage
Use ImageFormat.X360_DST24
when you need to specify a 24-bit depth-stencil format for textures on the Xbox 360 platform. This format is typically used in rendering pipelines that require depth information for 3D graphics.
Example
// Example of using ImageFormat.X360_DST24
// Assuming you have a method to create a texture with a specific format
Texture depthTexture = Texture.Create( width: 1024, height: 768, format: ImageFormat.X360_DST24 );
// Use the texture in a rendering pipeline
RenderPipeline.SetDepthTexture(depthTexture);