public class SbGPUCapabilities extends SbGraphicsCapabilities
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:
Modifier and Type | Class and Description |
---|---|
static class |
SbGPUCapabilities.GpuVendors
enumeration of GPU vendor
|
static class |
SbGPUCapabilities.Profiles
enumeration of OpenGL profiles
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and 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.
|
getMaxClipPlanes, getMaxColorTargets, getMaxDrawBuffers, getMaxHardwareLights, getMaxImageUnits, getMaxTextureCoords, getMaxTextureUnits, getMinGLSLVersion
dispose, getNativeResourceHandle
public int getVersion()
public int getMaxFixedPipelineTextureUnits()
public int getMaxTextureSize()
public int getMaxSamples()
public int getMax3DTextureSize()
public java.lang.String getRenderer()
public SbVec2i32 getMaxViewportSize()
public SbGPUCapabilities.Profiles getProfile()
public int getMaxVertexAttribs()
public SbGPUCapabilities.GpuVendors getGpuVendor()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com