Click or drag to resize
SoGLDevice Class

OpenGL device management class.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.DevicesSoDevice
      OIV.Inventor.DevicesSoGLDevice

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.GL (in OIV.Inventor.GL.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoGLDevice : SoDevice

The SoGLDevice type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFindFirstAvailableDevice

Returns the first available device found in the system.

Public methodGetAvailableMemory

Returns the current available memory of this device in bytes.

(Inherited from SoDevice.)
Public methodStatic memberGetDevice

Returns the OIV.Inventor.Devices.SoGLDevice indicated by index (starting from 0).

Public methodGetDeviceName

Returns the name of this device.

(Inherited from SoDevice.)
Public methodStatic memberGetDevicesCount

Returns the number of GPUs on the sytem.

Public methodGetDeviceSettings

Returns an handle of the driver API allowing to modify profile of this device.

Public methodGetDriverVersion

Returns the driver version of this device.

(Inherited from SoDevice.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetLogicalUnits

Returns the number of logical units of this device.

(Inherited from SoDevice.)
Public methodGetMainScreenDevice

Returns the main screen device connected to the GL device.

Public methodGetScreenDevice

Returns the OIV.Inventor.Devices.SoGLScreenDevice indicated by index (starting from 0).

Public methodGetScreenDevicesCount

Returns the number of screen devices connected to the GL device.

Public methodGetTotalMemory

Returns the total memory of this device in bytes.

(Inherited from SoDevice.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This class provides functions to discover, and query information about, GPU devices available in the system through the OpenGL API. You can query, for example, the total memory available on the device.

Please see OIV.Inventor.Devices.SoDevice for general information about the device classes.

See OIV.Inventor.Devices.SoGLScreenDevice for information about displays attached to a GPU.

See Also