The declarative style used to embed control definitions into the ShaderLab syntax. Any controls without a properties list will be hidden.

<Display Name>

  • The name that will be displayed next to the control in the inspector.

  • It must be enclosed in two single quotes, and precede the attributes list curly braces.



_Example ("'Example' {}", Color) = (1,1,1)

<Attributes List>

  • A collection of attributes that configure the control displayed in the inspector.

  • Represented by a pair of curly braces that appear after the display name quotes.

  • Properties without attributes lists will not appear in the inspector.



_Example ("'Example' {Attribute:{},OtherAttribute:0}", Color) = (1,1,1)