Table of Contents

Method GetTexture

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

GetTexture(SlotRef)

Resolves a texture-producing slot to either an external input or a pooled render texture.

public RenderTexture GetTexture(SlotRef slotRef)

Parameters

slotRef SlotRef

The slot to resolve.

Returns

RenderTexture

The externally bound texture when the slot has an external binding; otherwise the pooled render texture currently registered for that slot, or null when no texture is available.