Struct GraphValueResolver
A graph value resolver can resolve the state of an output port pointed to by a GraphValue<T>.
It can be burst compiled, used concurrently on a job or on the main thread, so long as the dependencies are
resolved.
API on this object is a subset of what is available on RenderContext
Syntax
public struct GraphValueResolver
Methods
Resolve<T>(GraphValue<T>)
Returns the contents of the output port the graph value was originally specified to point to.
Declaration
public T Resolve<T>(GraphValue<T> handle)
where T : struct
Parameters
Returns
Type Parameters
Exceptions
See Also
Resolve<T>(GraphValue<Buffer<T>>)
Returns the NativeArray representation of the buffer output port the graph value was originally specified to point to.
Declaration
public NativeArray<T> Resolve<T>(GraphValue<Buffer<T>> handle)
where T : struct
Parameters
Returns
Type Parameters