Table of Contents

Operator implicit operator

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

implicit operator RenderTexture(GraphRenderTexture)

Returns the wrapped Unity render texture.

public static implicit operator RenderTexture(GraphRenderTexture graphRT)

Parameters

graphRT GraphRenderTexture

The graph wrapper to unwrap.

Returns

RenderTexture

The underlying UnityEngine.RenderTexture, or null when graphRT is null.

implicit operator GraphRenderTexture(RenderTexture)

Wraps an existing Unity render texture in a graph render-texture wrapper.

public static implicit operator GraphRenderTexture(RenderTexture rt)

Parameters

rt RenderTexture

The Unity render texture to wrap.

Returns

GraphRenderTexture

A wrapper whose identifier is initialized from UnityEngine.Object.name, or null when rt is null.

Remarks

This conversion does not duplicate the texture; the wrapper simply points at the existing Unity object.