Method SupportsGraphicsFormat
SupportsGraphicsFormat(GraphicsFormat, FormatUsage)
Checks if a texture format is supported by the run-time system. Similar to UnityEngine.SystemInfo.IsFormatSupported(UnityEngine.Experimental.Rendering.GraphicsFormat, UnityEngine.Experimental.Rendering.FormatUsage), but doesn't allocate memory.
선언
public static bool SupportsGraphicsFormat(GraphicsFormat format, FormatUsage usage)
파라미터
타입 | 이름 | 설명 |
---|---|---|
GraphicsFormat | format | The format to look up. |
FormatUsage | usage | The format usage to look up. |
반환
타입 | 설명 |
---|---|
bool | Returns true if the graphics card supports the given |