Class SbGPUCapabilities
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.helpers.SbGraphicsCapabilities
-
- com.openinventor.inventor.helpers.SbGPUCapabilities
-
public class SbGPUCapabilities extends SbGraphicsCapabilities
List of common graphics capabilities of the device used by aSoGLContext
. 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:
SbGraphicsCapabilities
,SoGLContext
,SoGLDevice
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SbGPUCapabilities.GpuVendors
enumeration of GPU vendorstatic class
SbGPUCapabilities.Profiles
enumeration of OpenGL profiles-
Nested 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SbGPUCapabilities.GpuVendors
getGpuVendor()
GPU vendor.int
getMax3DTextureSize()
GL_MAX_3D_TEXTURE_SIZE.int
getMaxFixedPipelineTextureUnits()
GL_MAX_TEXTURE_UNITS (i.e.int
getMaxSamples()
GL_MAX_SAMPLES (i.e.int
getMaxTextureSize()
GL_MAX_TEXTURE_SIZE.int
getMaxVertexAttribs()
GL_MAX_VERTEX_ATTRIBS.SbVec2i32
getMaxViewportSize()
GL_MAX_VIEWPORT_DIMS.SbGPUCapabilities.Profiles
getProfile()
GLContext profile.java.lang.String
getRenderer()
Renderer name.int
getVersion()
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 Detail
-
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
public java.lang.String getRenderer()
Renderer name. Format depends on GPU
-
getMaxViewportSize
public SbVec2i32 getMaxViewportSize()
GL_MAX_VIEWPORT_DIMS.
-
getProfile
public SbGPUCapabilities.Profiles getProfile()
GLContext profile. See Profile enumeration.
-
getMaxVertexAttribs
public int getMaxVertexAttribs()
GL_MAX_VERTEX_ATTRIBS.
-
getGpuVendor
public SbGPUCapabilities.GpuVendors getGpuVendor()
GPU vendor.
-
-