robot_2Generated
code_blocksInput

Description

The ColorIndex property of the RenderTargetHandle struct provides a reference to the index of the color texture associated with this render target. This index is used to identify and access the specific color texture within a collection of textures.

Usage

To use the ColorIndex property, you need to have an instance of the RenderTargetHandle struct. You can then access the ColorIndex property to retrieve or manipulate the index of the color texture.

Example

// Example of accessing the ColorIndex property
RenderTargetHandle renderTargetHandle = new RenderTargetHandle();
var colorIndex = renderTargetHandle.ColorIndex;

// Use colorIndex as needed, for example, to access a specific color texture
// in a rendering operation or shader.