robot_2Generated
code_blocksInput

Description

The Inverse field is a member of the TextureProcessor enumeration within the Editor.ShaderGraph namespace. This enumeration is used to specify various processing operations that can be applied to textures within the Shader Graph editor. The Inverse option is used to invert the colors of a texture, effectively reversing the color values. This can be useful for creating effects where the opposite color spectrum is desired.

Usage

To use the Inverse texture processor, you would typically select it as part of a texture processing pipeline within the Shader Graph editor. This involves setting the texture processor to TextureProcessor.Inverse when configuring a texture node or operation that supports texture processing.

Example

// Example of using TextureProcessor.Inverse in a shader graph context

// Assuming you have a texture node in your shader graph
TextureNode textureNode = new TextureNode();

// Set the texture processor to Inverse
textureNode.Processor = TextureProcessor.Inverse;

// The texture will now be processed with inverted colors