GetHashCode()
Converts this ShaderTagId to a hash code.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public override int GetHashCode()
Returns
Type | Description |
|---|---|
| int | The hash code of this |
Remarks
Allows this struct to be used efficiently in data structures which rely on hashing (, for example). The hash is based on the string this identifier refers to.
System.Collections.Generic.HashSet