class in UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseThis class describes a pass of a subshader.
IsGrabPass | Indicates whether this Pass results from a GrabPass command. |
Name | The name of this pass (may be empty). |
SourceCode | The source code for this pass. |
CompileVariant | Compiles a shader variant for this shader pass and returns its bytecode and resource layout. |
FindTagValue | Searches for the tag specified by tagName on this SubShader and returns the value of the tag. |
HasShaderStage | Checks whether this pass includes a shader stage. |
PreprocessVariant | Preprocesses a shader variant for this shader pass and returns the preprocessed code. |