ImageFormat NV_RAWZ

robot_2Generated
code_blocksInput

Description

The NV_RAWZ field is a member of the ImageFormat enumeration in the Sandbox namespace. It represents a specific image format used for handling raw depth data, typically in graphics programming and rendering pipelines. This format is often associated with NVIDIA hardware and is used for depth buffer operations.

Usage

Use ImageFormat.NV_RAWZ when you need to specify an image format that handles raw depth data, particularly when working with NVIDIA graphics hardware. This format is useful in scenarios where depth precision is critical, such as in shadow mapping or depth-based effects.

Example

// Example of using ImageFormat.NV_RAWZ in a rendering context

// Assume 'texture' is a Texture object that requires a specific image format
texture.SetImageFormat(ImageFormat.NV_RAWZ);

// This sets the texture to use the NV_RAWZ format, which is suitable for depth data handling
// in NVIDIA hardware environments.