SupportsRandomWriteOnRenderTextureFormat(RenderTextureFormat)
Tests if a RenderTextureFormat can be used with RenderTexture.enableRandomWrite.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool SupportsRandomWriteOnRenderTextureFormat(RenderTextureFormat format)
Parameters
The format to look up.
Returns
Type | Description |
|---|---|
| bool | True 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.