Description
The NV_DST24
field is a member of the ImageFormat
enumeration in the Sandbox namespace. It represents a specific image format used for rendering or processing images within the s&box game engine. This format is typically used for depth-stencil textures with a 24-bit depth component.
Usage
Use ImageFormat.NV_DST24
when you need to specify a 24-bit depth format for textures or render targets. This is particularly useful in scenarios where depth precision is critical, such as in 3D rendering pipelines.
Example
// Example of using NV_DST24 in a texture creation
Texture depthTexture = new Texture();
depthTexture.Format = ImageFormat.NV_DST24;
depthTexture.Create( width: 1024, height: 1024 );