Table of Contents

Method SignalSaveRenderTextureToFile

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

SignalSaveRenderTextureToFile(RenderTexture, string)

Notifies the registered export handler that a render texture should be saved.

public static void SignalSaveRenderTextureToFile(RenderTexture rt, string fileNameNoExtension)

Parameters

rt RenderTexture

The render texture to export.

fileNameNoExtension string

Suggested file name without an extension.

Remarks

This method only forwards the request through saveRenderTextureCallback. It does not perform any file I/O by itself.

Exceptions

ArgumentNullException

Thrown when rt is null.