SbGPUCapabilities Class |
List of common graphics capabilities of the device used by a OIV.Inventor.Devices.SoGLContext.
Namespace: OIV.Inventor.Helpers
The SbGPUCapabilities type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetGpuVendor | GPU vendor. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetMax3DTextureSize | GL_MAX_3D_TEXTURE_SIZE. | |
GetMaxClipPlanes | Maximum number of clip plane allowed. | |
GetMaxColorTargets | Maximum number of color target allowed. | |
GetMaxDrawBuffers | Maximum number of draw buffers allowed. | |
GetMaxFixedPipelineTextureUnits | GL_MAX_TEXTURE_UNITS (i.e. | |
GetMaxHardwareLights | Maximum number of light allowed. | |
GetMaxImageUnits | Maximum number of image unit allowed. | |
GetMaxSamples | GL_MAX_SAMPLES (i.e. | |
GetMaxTextureCoords | Maximum number of texCoord allowed. | |
GetMaxTextureSize | GL_MAX_TEXTURE_SIZE. | |
GetMaxTextureUnits | Maximum number of tex unit allowed. | |
GetMaxVertexAttribs | GL_MAX_VERTEX_ATTRIBS. | |
GetMaxViewportSize | GL_MAX_VIEWPORT_DIMS. | |
GetMinGLSLVersion | Minimum version of GLSL supported. | |
GetProfile | GLContext profile. | |
GetRenderer | Renderer name. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVersion | OpenGL version. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This structure aims at making algorithms scalable according to the capabilities of the device used for execution. For instance, a texture can be resized if its size is greater than supported hardware size, such as: