bool IsAttribute { get; set; }

robot_2Generated
code_blocksInput

Description

The IsAttribute property of the TextureInput struct in the Editor.ShaderGraph namespace indicates whether the texture input parameter can be modified using RenderAttributes. This property is a boolean value and is publicly accessible.

Usage

To determine if a texture input can be modified with RenderAttributes, check the IsAttribute property. If it returns true, the parameter is modifiable; otherwise, it is not.

Example

// Example of using the IsAttribute property
TextureInput textureInput = new TextureInput();

// Check if the texture input can be modified with RenderAttributes
bool canModifyWithAttributes = textureInput.IsAttribute;

if (canModifyWithAttributes)
{
    // Proceed with modifications using RenderAttributes
}