Click or drag to resize
SoGLScreenDevice Class

GL Screen device class.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.DevicesSoGLScreenDevice

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.GL (in OIV.Inventor.GL.dll) Version: 2025.2.2.0 (10.18.2.0)
Syntax
public class SoGLScreenDevice : SoNetBase

The SoGLScreenDevice type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetColorDepth

Returns the number of bits per pixel of the device.

Public methodGetGLDevice

Returns the OIV.Inventor.Devices.SoGLDevice object on which the device is connected.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetName

Returns an user presentable string representing the device.

Public methodGetPhysicalSize

Returns the device's physical size (in millimeters).

Public methodGetResolution

Returns the device's resolution in pixels.

Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Remarks

This class is used to query screen properties. You can query, for example, the resolution in pixels of the device. The list of screens connected to a GPU can be retrieved from the function OIV.Inventor.Devices.SoGLDevice.GetScreenDevice(System.Int32). The main screen connected to a GPU can be retrieved from the function OIV.Inventor.Devices.SoGLDevice.GetMainScreenDevice().

See Also