Documentation

Unity Engine

Unity Engine

CreateRenderTargets(RenderTextureFormat)

Creates the sourceRenderTexture and destinationRenderTexture.
Read time 1 minuteLast updated 2 months ago

Definition

public void CreateRenderTargets(RenderTextureFormat colorFormat)

Parameters

Render Texture format.

Remarks

The render textures are created at a resolution matching the current PaintContext.pixelRect, using the specified RenderTextureFormat.