Struct FrameGraphResourceHandle
Identifies a resource that participates in the frame graph.
public readonly record struct FrameGraphResourceHandle : IEquatable<FrameGraphResourceHandle>
- Implements
- Inherited Members
Constructors
FrameGraphResourceHandle(int)
Identifies a resource that participates in the frame graph.
public FrameGraphResourceHandle(int Value)
Parameters
Valueint
Properties
IsValid
Whether the handle refers to a resource. A handle with a negative Value is not valid.
public bool IsValid { get; }
Property Value
Value
public int Value { get; init; }
Property Value
Methods
ToString()
Returns the handle as text, such as Resource(3), or Resource(<invalid>) when it is not valid.
public override string ToString()