Hints
The function's metadata, extracted from any structured comments decorating the function.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEditor.ShaderApiReflection
- Assembly: UnityEditor.CoreModule
public ReadOnlyDictionary<string, string> Hints { get; }
Remarks
A hint is a key-value pair of strings which may be used to store arbitrary metadata about a function. Hints are pure data and so don't do anything in isolation, but certain tools, such as ShaderGraph, make use of certain named hints.