ImageFormat LINEAR_RGBA16161616

book_4_sparkGenerated
code_blocksInput

Description

The LINEAR_RGBA16161616 field is a member of the ImageFormat enumeration in the Sandbox namespace. This format represents a linear color space image format with 16 bits per channel for red, green, blue, and alpha components. It is typically used for high dynamic range (HDR) images where precision and color accuracy are important.

Usage

Use ImageFormat.LINEAR_RGBA16161616 when you need to work with images that require high precision and linear color space, such as in rendering pipelines that involve HDR processing or when performing operations that require accurate color representation.

Example

// Example of using LINEAR_RGBA16161616 in a texture creation
Texture texture = new Texture( width: 1024, height: 1024, format: ImageFormat.LINEAR_RGBA16161616 );

// Use the texture in a material or rendering process
Material material = new Material();
material.SetTexture("MainTex", texture);