Table of Contents

Method RemoveTexture

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

RemoveTexture(string)

Removes a previously created texture from this provider without disposing it.

public GraphRenderTexture RemoveTexture(string identifier)

Parameters

identifier string

Identifier assigned to the texture when it was registered.

Returns

GraphRenderTexture

The removed texture wrapper, or null if no texture with that identifier is owned by this provider.

Remarks

This is used when a caller needs to take ownership of a generated texture, such as preserving the biome mask after the rest of the temporary inputs are cleaned up.