SkillExecutionDeviceDirectX Class

Definition

Provides a DirectX execution device and information that can be used to infer if a skill could be run with it appropriately in the consumer's context. Also acts as a static factory for itself.

public ref class SkillExecutionDeviceDirectX sealed : Microsoft::AI::Skills::SkillInterfacePreview::ISkillExecutionDevice
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.AI.Skills.SkillInterfacePreview.SkillsAPIContract), 65536)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.AI.Skills.SkillInterfacePreview.SkillExecutionDeviceDirectXStatics), 65536, "Microsoft.AI.Skills.SkillInterfacePreview.SkillsAPIContract")]
public sealed class SkillExecutionDeviceDirectX : Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice
type SkillExecutionDeviceDirectX = class
    interface ISkillExecutionDevice
Public NotInheritable Class SkillExecutionDeviceDirectX
Implements ISkillExecutionDevice
Inheritance
SkillExecutionDeviceDirectX
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.StaticAttribute
Implements

Properties

AdapterId

The adapter ID of this DirectX device.

DedicatedVideoMemory

The amount of dedicated video memory of this DirectX device (bytes).

Direct3D11Device

The IDirect3DDevice associated with this device.

ExecutionDeviceKind

The SkillExecutionDeviceKind of this device.

HighPerformanceIndex

The ranking in terms of performance of this DirectX device relative to others.

IsDefault

Gets whether this DirectX device is considered the default one.

MaxSupportedFeatureLevel

The maximum supported D3DFeatureLevelKind by this DirectX device.

Name

The name of this device.

PowerSavingIndex

The ranking in terms of power saving of this DirectX device relative to others.

Methods

Create(IDirect3DDevice)

Instantiates a SkillExecutionDeviceDirectX.

GetAvailableDirectXExecutionDevices()

Obtain all SkillExecutionDeviceDirectX devices available on the system so that they can be filtered out appropriately given the skill requirements by the skill developer and exposed accordingly when calling ISkillDescriptor.GetSupportedExecutionDevicesAsync().

Applies to