SoGLScreenDevice Class |
GL Screen device class.
Namespace: OIV.Inventor.Devices
The SoGLScreenDevice type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetColorDepth | Returns the number of bits per pixel of the device. | |
GetGLDevice | Returns the OIV.Inventor.Devices.SoGLDevice object on which the device is connected. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetName | Returns an user presentable string representing the device. | |
GetPhysicalSize | Returns the device's physical size (in millimeters). | |
GetResolution | Returns the device's resolution in pixels. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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().