SoGLGraphicDevice Class |
Represents an OpenGL graphics device.
Namespace: OIV.Inventor.Components
The SoGLGraphicDevice type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoGLGraphicDevice(SbDeviceContext) | Calls SoGLGraphicDevice(name_15054, OIV.Inventor.Components.SoGLGraphicDevice.DeviceTypes( .SoGLGraphicDevice.WINDOW )). |
![]() | SoGLGraphicDevice(SbDeviceContext, SoGLGraphicDeviceDeviceTypes) | <font color="#0000FF">[Windows only]</font> Constructor. |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetBestGraphicConfig | Returns the best graphics configuration according to the user's specifications. |
![]() | GetDefaultGraphicConfig | Returns the default graphics configuration. |
![]() | GetGraphicConfig(UInt64) | Returns the n-th of all the graphics configurations supported by this device. |
![]() | GetGraphicConfig(SoGraphicConfigTemplate, UInt64) | Returns the best nth of all the graphics configurations supported by this device and sorted according to the given template. |
![]() | GetGraphicConfigTemplate | Returns a template corresponding to the given graphics configuration. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetHDC | <font color="#0000FF">[Windows only]</font> Returns the HDC corresponding to this graphics device. |
![]() | GetLongNum | Obsolete. Returns the number of the graphics configurations supported by this device. |
![]() | GetLongNum(SoGraphicConfigTemplate) | Obsolete. Returns the number of the graphics configurations supported by this device and the given template. |
![]() | GetNum | Returns the number of the graphics configurations supported by this device. |
![]() | GetNum(SoGraphicConfigTemplate) | Returns the number of the graphics configurations supported by this device and the given template. |
![]() | 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 an encapsulation of a real graphics device for OpenGL. It could be:
a Microsoft Windows device context (HDC)
an X Windows graphics display (Display *)
This class provides convenience methods to get the system-dependent identifier, i.e., the HDC or the Display *. It provides methods to query the supported OpenGL graphics configurations and to sort them according to the preferences specified in a graphics template.