Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerate the devices capable of running KinectFusion. This enables a specific device to be chosen when calling NuiFusionCreateReconstruction if desired.
Syntax
public static void GetDeviceInfo (
ReconstructionProcessor type,
int index,
out string description,
out string instancePath,
out int memoryKB
)
Parameters
- type
Type: ReconstructionProcessor
The type of processor to enumerate. - index
Type: Int32
The zero-based index of the device for which the description is returned, or -1 for the default device for the given processor type. - description
Type: String
On success, the variable is assigned the description string for the device. - instancePath
Type: String
On success, the variable is assigned the instance path for the device. - memoryKB
Type: Int32
On success, the variable is assigned the total amount of memory on the device, in kilobytes.
Remarks
This method raises the following exceptions:
Exception | Raised on |
IndexOutOfRangeException | Thrown when the index parameter is out of range for the specified processor type. |
ArgumentException | Thrown when the type parameter is out of range. |
InvalidOperationException | Thrown when the call failed for an unknown reason. |
Remarks
This method raises the following exceptions:
Exception | Raised on |
IndexOutOfRangeException | Thrown when the index parameter is out of range for the specified processor type. |
ArgumentException | Thrown when the type parameter is out of range. |
InvalidOperationException | Thrown when the call failed for an unknown reason. |
Requirements
Namespace: Microsoft.Kinect.Toolkit.Fusion
Assembly: Microsoft.Kinect.Toolkit.Fusion (in microsoft.kinect.toolkit.fusion.dll)
See Also
Reference
FusionDepthProcessor Class
FusionDepthProcessor Members
Microsoft.Kinect.Toolkit.Fusion Namespace