azure-kinect-unreal
azure-kinect-unreal copied to clipboard
Expose an option to use Gpu Device ID
Exposes the Gpu Device ID to the AzureKinect Manager - This is useful when you want control over what GPU the kinect will use. Also, this is a solution for RTX 30xx cards not working - if you have 2 graphics adapters available.
- [x ] My contribution is fully done and ready to be merged as is.
- [x] My pull request description contains the entire list of fixes, additions, or removals.
- [x ] I have commented my code to the point that other devs can pick it up.
Summary
Exposed an int32 specifying the GpuDeviceID that can be used to control what GPU the kinect should use.
Added
The GpuDeviceID int32 is exposed both to AzureKinectDevice::Initialize and UAzureKinectManager::InitDevice. Furthermore a tracker_config is setup containing the settings and passed on to k4abt::tracker::create(..) in AzureKinectDevice.cpp
Removed
Updated
Any updates on this? Sounds like a good addition to the repo?