MPSKernel.Supports(IMTLDevice) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the device is supported.
public static bool Supports (Metal.IMTLDevice device);
static member Supports : Metal.IMTLDevice -> bool
Parameters
- device
- IMTLDevice
Returns
true
if device
is supported. Oterwise, returns false
Remarks
Before copying shaders to a new device, application developers should call the Supports(IMTLDevice) method to determine if the device
is supported.