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
Modifier and Type | Field and Description |
---|---|
static int |
AMD_GPU
Deprecated.
Use
SbGPUCapabilities.GpuVendors.AMD_GPU instead. |
static int |
COMPATIBILITY
Deprecated.
Use
SbGPUCapabilities.Profiles.COMPATIBILITY instead. |
static int |
CORE
Deprecated.
Use
SbGPUCapabilities.Profiles.CORE instead. |
static int |
INTEL_GPU
Deprecated.
Use
SbGPUCapabilities.GpuVendors.INTEL_GPU instead. |
static int |
NVIDIA_GPU
Deprecated.
Use
SbGPUCapabilities.GpuVendors.NVIDIA_GPU instead. |
static int |
UNKNOWN_GPU
Deprecated.
Use
SbGPUCapabilities.GpuVendors.UNKNOWN_GPU instead. |
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 |
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, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int COMPATIBILITY
SbGPUCapabilities.Profiles.COMPATIBILITY
instead.@Deprecated public static final int CORE
SbGPUCapabilities.Profiles.CORE
instead.@Deprecated public static final int INTEL_GPU
SbGPUCapabilities.GpuVendors.INTEL_GPU
instead.@Deprecated public static final int AMD_GPU
SbGPUCapabilities.GpuVendors.AMD_GPU
instead.@Deprecated public static final int NVIDIA_GPU
SbGPUCapabilities.GpuVendors.NVIDIA_GPU
instead.@Deprecated public static final int UNKNOWN_GPU
SbGPUCapabilities.GpuVendors.UNKNOWN_GPU
instead.public int getMaxFixedPipelineTextureUnits()
public SbGPUCapabilities.GpuVendors getGpuVendor()
public int getVersion()
public SbGPUCapabilities.Profiles getProfile()
public SbVec2i32 getMaxViewportSize()
public int getMaxTextureSize()
public int getMax3DTextureSize()
public int getMaxVertexAttribs()
public java.lang.String getRenderer()
Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com