Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Documentation~/canvas-master-stack-reference.md
2024-08-26 23:07:20 +03:00

1.8 KiB

Canvas Master Stack reference

You can modify the properties of a Canvas Shader Graph in the Canvas Master Stack.

Refer to Canvas material for more information.

Contexts

[!include]

Vertex Context

The Vertex context represents the vertex stage of this shader. Unity executes any block you connect to this context in the vertex function of this shader. For more information, refer to Master Stack.

Vertex blocks are not compatible with the Canvas Master Stack.

Fragment Context

The Fragment Context contains the default and relevant Blocks for the Canvas Master Stack target.

Default Fragment Context Blocks

When you create a new Canvas Master Stack, the Fragment Context contains the following Blocks by default:

[!include] [!include] [!include]

Property Description Setting Dependency Default Value

Relevant Fragment Context Blocks

Depending on the Graph Settings you use, Shader Graph might add the following Blocks to the Fragment Context:

[!include]

Graph Settings

The following table describes the Surface options:

Property Description Setting Dependency Default Value

[!include] [!include]

Property Description