ImageFormat R32_UINT

robot_2Generated
code_blocksInput

Description

The R32_UINT field is a member of the ImageFormat enumeration in the Sandbox namespace. It represents an image format where each pixel is stored as a 32-bit unsigned integer. This format is typically used for storing single-channel data, such as depth or stencil information, where high precision is required.

Usage

Use ImageFormat.R32_UINT when you need to work with images that require a single channel of 32-bit unsigned integer data. This format is particularly useful in scenarios where you need to store large integer values per pixel, such as in certain types of data buffers or when interfacing with graphics APIs that require this format.

Example

// Example of using ImageFormat.R32_UINT

// Assuming you have a method to create a texture
Texture myTexture = Texture.Create( width: 1024, height: 1024, format: ImageFormat.R32_UINT );

// Use the texture in your application
// This texture can now be used for operations that require 32-bit unsigned integer data per pixel.