Version: 2023.2
LanguageEnglish
  • C#

RenderPipelineAsset.renderPipelineShaderTag

Suggest a change

Success!

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.

Close

Submission failed

For 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.

Close

Cancel

public string renderPipelineShaderTag;

Returns

string String with the Shader Tag.

Description

Returns the Shader Tag value for the render pipeline that is described by this asset.

Any shader that doesn't match this tag will be stripped out of builds using this RenderPipelineAsset. To ensure consistent rendering behaviour between the Editor and Builds, make sure to also keep this property in sync with Shader.globalRenderPipeline.