ドキュメント

Unity Engine

Unity Engine

SupportsRandomWriteOnRenderTextureFormat(RenderTextureFormat)

Tests if a RenderTextureFormat can be used with RenderTexture.enableRandomWrite.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool SupportsRandomWriteOnRenderTextureFormat(RenderTextureFormat format)

Parameters

The format to look up.

Returns

Type

Description

boolTrue if the format can be used for random access writes.

Remarks

Random access write might not be supported on all RenderTextureFormat as this is API/driver/hardware dependent.