RenderAreaHardwareGpu Property |
Sets the Graphics Processing Unit (GPU) used for rendering.
Namespace: OIV.RemoteViz.Rendering
This value can be retrieved using ().
On X11 Linux, the default value is the value of the environment variable DISPLAY, typically ":0.0". The specification for a specific GPU depends on the X11 configuration file, but usually the first digit is the GPU index.
On Headless EGL Linux, the default value is EGL_DEFAULT_DISPLAY, typically "0". The parameter is a GPU index (0..N) (see eglQueryDevicesEXT and eglGetPlatformDisplayEXT).
Limitations:
Currently this feature only works on Linux. Calling this method on Windows is allowed, but has no effect.
This feature only works with the modes OIV.RemoteViz.Rendering.ServiceSettings.RunModes.INVENTOR_SERVICE and OIV.RemoteViz.Rendering.ServiceSettings.RunModes.INVENTOR_APPLICATION.
Currently this feature can only specify the GPU to be used for rendering. GPU accelerated video encoding, for example H.264, is always done on the GPU with id "0".