Table of Contents

Method CreateTemporaryRT

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

CreateTemporaryRT(RtDescriptor, string, bool)

Creates or reuses a temporary render texture that is protected from immediate pool reuse.

public GraphRenderTexture CreateTemporaryRT(DataPool.RtDescriptor desc, string uniqueName, bool clearContent = true)

Parameters

desc DataPool.RtDescriptor

The size and format required by the temporary texture.

uniqueName string

A caller-defined identifier that should not collide with regular slot output names.

clearContent bool

true to clear the texture to zero before use.

Returns

GraphRenderTexture

A temporary texture whose reference count is initialized to 1.