Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The supported parameter annotations are:


string attribute
string maya_attribute
string katana_attribute

Specifies the name of the attribute that corresponds to this parameter. There are many reasons to use these attribute - parameter mapping: because the software or OSL imposes restrictions (e.g. an attribute named "color" in Maya, which is a reserved word in OSL), because the shader has different parameter naming conventions than what is expected in the software, or because the required attribute in the software is part of a complex attribute structure that does not have an OSL counterpart.

...