Version: 2022.3
言語: 日本語
public void CreateRenderTargets (RenderTextureFormat colorFormat);

パラメーター

colorFormat Render Texture format.

説明

Creates the sourceRenderTexture and destinationRenderTexture.

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

This function is called internally by TerrainPaintUtility.BeginPaintHeightmap, TerrainPaintUtility.BeginPaintTexture and TerrainPaintUtility.CollectNormals.

See Also: PaintContext.destinationRenderTexture, PaintContext.sourceRenderTexture


Did you find this page useful? Please give it a rating: