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.
Declaration
public static bool SupportsGraphicsFormat(GraphicsFormat format, FormatUsage usage)
Parameters
Type | Name | Description |
---|---|---|
GraphicsFormat | format | The format to look up. |
FormatUsage | usage | The format usage to look up. |
Returns
Type | Description |
---|---|
bool | Returns true if the graphics card supports the given |