Lists how much GPU a module is allowed to use.
The selected mode sets a floor that cannot be avoided: POSITIONAL_TRACKING_MODE.GEN_1 computes depth and therefore always uses the GPU. This preference only controls the work that is optional on top of that floor.
| Enumerator | |
| AUTO | Default. Let the SDK choose. For positional tracking, GEN_3 runs on the CPU and GEN_1 uses the GPU, since it computes depth. |
| PREFER_CPU | Use no more GPU than the selected mode requires, leaving the GPU free for your own workloads. Tracking is slower than with GPU acceleration. |
| PREFER_GPU | Use GPU acceleration wherever it is available, which makes tracking faster and lowers the per-frame grab time. Falls back to the CPU by itself if the GPU cannot be used. |