Edytuj

Udostępnij za pośrednictwem


MPSKernel.Supports(IMTLDevice) Method

Definition

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.

Applies to