parameterHandle(name:)
Returns a handle for the parameter with the given name.
Declaration
static func parameterHandle(name: String) -> MaterialParameters.HandleParameters
- name:
The name of the parameter as declared in the shader graph.
Discussion
Handles provide a faster path for repeated parameter access compared to name-based lookups. Obtain a handle once and reuse it across frames.