public class SoGLDevice extends SoDevice
Please see SoDevice
for general information about the device classes.
See SoGLScreenDevice
for information about displays attached to a GPU.
See also:
SoCpuDevice
, SoGLBufferObject
, SoGLContext
, SoGLScreenDevice
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static SoGLDevice |
findFirstAvailableDevice()
Returns the first available device found in the system.
|
static SoGLDevice |
getDevice(int index)
Returns the
SoGLDevice indicated by index (starting from 0). |
static int |
getDevicesCount()
Returns the number of GPUs on the sytem.
|
SoGLDeviceSettings |
getDeviceSettings()
Returns an handle of the driver API allowing to modify profile of this device.
|
SoGLScreenDevice |
getMainScreenDevice()
Returns the main screen device connected to the GL device.
|
SoGLScreenDevice |
getScreenDevice(int index)
Returns the
SoGLScreenDevice indicated by index (starting from 0). |
int |
getScreenDevicesCount()
Returns the number of screen devices connected to the GL device.
|
getDeviceName, getDriverVersion, getLogicalUnits
dispose, getNativeResourceHandle
public int getScreenDevicesCount()
public static int getDevicesCount()
public SoGLScreenDevice getMainScreenDevice()
public SoGLDeviceSettings getDeviceSettings()
public static SoGLDevice getDevice(int index)
SoGLDevice
indicated by index (starting from 0).
index
- The index of the SoGLDevice
.public static SoGLDevice findFirstAvailableDevice()
public SoGLScreenDevice getScreenDevice(int index)
SoGLScreenDevice
indicated by index (starting from 0).
index
- The index of the SoGLScreenDevice
.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com