Class SbGPUCapabilities
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.helpers.SbGraphicsCapabilities
com.openinventor.inventor.helpers.SbGPUCapabilities
List of common graphics capabilities of the device used by a
SoGLContext
.
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:
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
enumeration of GPU vendorstatic enum
enumeration of OpenGL profilesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionGPU vendor.int
GL_MAX_3D_TEXTURE_SIZE.int
GL_MAX_TEXTURE_UNITS (i.e.int
GL_MAX_SAMPLES (i.e.int
GL_MAX_TEXTURE_SIZE.int
GL_MAX_VERTEX_ATTRIBS.GL_MAX_VIEWPORT_DIMS.GLContext profile.Renderer name.int
OpenGL version.Methods inherited from class com.openinventor.inventor.helpers.SbGraphicsCapabilities
getMaxClipPlanes, getMaxColorTargets, getMaxDrawBuffers, getMaxHardwareLights, getMaxImageUnits, getMaxTextureCoords, getMaxTextureUnits, getMinGLSLVersion
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getVersion
public int getVersion()OpenGL version. Ex: 440 for OpenGL 4.4 -
getMaxFixedPipelineTextureUnits
public int getMaxFixedPipelineTextureUnits()GL_MAX_TEXTURE_UNITS (i.e. max texture units for fixed pipeline) -
getMaxTextureSize
public int getMaxTextureSize()GL_MAX_TEXTURE_SIZE. -
getMaxSamples
public int getMaxSamples()GL_MAX_SAMPLES (i.e. max number of samples for multisampling) -
getMax3DTextureSize
public int getMax3DTextureSize()GL_MAX_3D_TEXTURE_SIZE. -
getRenderer
Renderer name. Format depends on GPU -
getMaxViewportSize
GL_MAX_VIEWPORT_DIMS. -
getProfile
GLContext profile. See Profile enumeration. -
getMaxVertexAttribs
public int getMaxVertexAttribs()GL_MAX_VERTEX_ATTRIBS. -
getGpuVendor
GPU vendor.
-