Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ShaderData.Pass.SourceCode

public string SourceCode;

Description

The source code for this pass.

This is the source code used before any platform-specific processing occurs (similar to using define to map some keywords to another for language compatibility).

Did you find this page useful? Please give it a rating: