기술 자료

Unity Engine

Unity Engine

SupportsRandomWriteOnRenderTextureFormat(RenderTextureFormat)

Tests if a RenderTextureFormat can be used with RenderTexture.enableRandomWrite.
읽는 시간 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.