ImageFormat NV_INTZ

robot_2Generated
code_blocksInput

Description

The NV_INTZ 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, which are essential in 3D graphics for depth testing and stencil operations.

Usage

Use ImageFormat.NV_INTZ when you need to specify a depth-stencil format for textures in your game. This format is particularly useful when working with advanced rendering techniques that require depth information, such as shadow mapping or post-processing effects.

Example

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