Class SoGLScreenDevice


  • public class SoGLScreenDevice
    extends Inventor
    GL Screen device class. 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 SoGLDevice.getScreenDevice. The main screen connected to a GPU can be retrieved from the function SoGLDevice.getMainScreenDevice.

    See Also:
    SoGLDevice
    • Method Detail

      • getColorDepth

        public int getColorDepth()
        Returns the number of bits per pixel of the device.
      • getPhysicalSize

        public SbVec2f getPhysicalSize()
        Returns the device's physical size (in millimeters).
      • getResolution

        public SbVec2i32 getResolution()
        Returns the device's resolution in pixels.
      • getGLDevice

        public SoGLDevice getGLDevice()
        Returns the SoGLDevice object on which the device is connected.
      • getName

        public java.lang.String getName()
        Returns an user presentable string representing the device.