Table of Contents

Method CreateRenderTexture

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

CreateRenderTexture(int)

Creates a render texture configured for a stroke mask.

public static RenderTexture CreateRenderTexture(int resolution)

Parameters

resolution int

Width and height of the mask in pixels.

Returns

RenderTexture

A created caller-owned render texture.