Table of Contents

Method AddTexture

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

AddTexture(string, RenderTexture)

Registers a texture input under the name graph input nodes will request.

public void AddTexture(string name, RenderTexture texture)

Parameters

name string

The input name used by graph nodes, such as one of the reserved values in GraphConstants or a subgraph input name.

texture RenderTexture

The texture to expose during execution.

Remarks

The container stores the reference only; it does not clone or take ownership of the texture.