Synced
RenderFrameData.TryGet
Section titled “RenderFrameData.TryGet”
- Tries to read one typed value from an open data channel.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Runtime
Scope: Runtime
Declaration
Section titled “Declaration”public bool InnoEngine.Rendering.RenderFrameData.TryGet<TValue>(InnoEngine.Rendering.RenderDataChannelId channel, out TValue? value)Type parameters
Section titled “Type parameters”Type parameter TValue: Expected frame-local payload type.
Parameters
Section titled “Parameters”Parameter channel: Pipeline-defined stable data channel.
Parameter value: Receives the stored value when present.
Returns
Section titled “Returns”true when the channel contains the exact requested type.