PassIdentifier
Represents an identifier of a specific Pass in a Shader.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<PassIdentifier>
public readonly struct PassIdentifier : IEquatable<PassIdentifier>
Remarks
Constructors
Constructor | Description |
|---|---|
| PassIdentifier(System.UInt32,System.UInt32) | Constructs a new PassIdentifier with the given |
Properties
Property | Description |
|---|---|
| PassIndex | The index of the pass within the subshader (Read Only). |
| SubshaderIndex | The index of the subshader within the shader (Read Only). |
Operators
Operator | Description |
|---|---|
| operator == | Returns true if the pass identifiers are the same. Otherwise, returns false. |
| operator != | Returns true if the pass identifiers are not the same. Otherwise, returns false. |