Method ProcessPolygonalMask
ProcessPolygonalMask(BiomeMaskGraph, Bounds, Space, RenderTexture)
Processes a polygonal mask through a biome mask graph and returns the graph-produced mask.
public static RenderTexture ProcessPolygonalMask(BiomeMaskGraph graph, Bounds worldBounds, Space simSpace, RenderTexture polygonalMask)
Parameters
graphBiomeMaskGraphBiome mask graph to execute.
worldBoundsBoundsWorld-space bounds represented by the polygonal mask.
simSpaceSpaceCoordinate space exposed to the graph.
polygonalMaskRenderTextureCaller-owned mask supplied as the biome-mask graph input.
Returns
- RenderTexture
The biome-mask output texture removed from the graph data pool, or null when the graph has no biome-mask output. The caller owns the returned texture.