ドキュメント

Unity Engine

Unity Engine

CreateRenderTargets(RenderTextureFormat)

Creates the sourceRenderTexture and destinationRenderTexture.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.