public class SoPBuffer extends SoGLRenderToBuffer
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later. Use SoRenderToTarget
.
For most applications, using the SoOffscreenRenderer
class will be more convenient. SoOffscreenRenderer
uses Pbuffers automatically.
Pbuffers are only available if the graphics hardware supports OpenGL 1.2 or the OpenGL Pbuffer extension. On UNIX this extension is named "GLX_pbuffer" or "GLX_SGIX_pbuffer". On Windows this extension is named "WGL_ARB_pbuffer" or "WGL_EXT_pbuffer".
See also:
SoOffscreenRendererDeprecated since Open Inventor 9610
No longer supported, use SoRenderToTarget
instead
SoGLRenderToBuffer.CubeMapTextureFaces, SoGLRenderToBuffer.TextureFormats, SoGLRenderToBuffer.TextureTargets
Inventor.ConstructorCommand
TEXTURE_1D, TEXTURE_2D, TEXTURE_3D, TEXTURE_CUBE_MAP, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Z, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, TEXTURE_DEPTH, TEXTURE_DEPTH_RGBA, TEXTURE_DEPTH_STENCIL, TEXTURE_DEPTH16, TEXTURE_RECTANGLE, TEXTURE_RGB, TEXTURE_RGB_FLOAT16, TEXTURE_RGB_FLOAT32, TEXTURE_RGBA, TEXTURE_RGBA_FLOAT16, TEXTURE_RGBA_FLOAT32, TEXTURE_STENCIL_INDEX, TEXTURE_STENCIL_INDEX8, TEXTURE_UNKNOW
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
void |
setRenderToTexture(boolean enable)
Deprecated.
Calls setRenderToTexture(enable, SoGLRenderToBuffer.TextureFormats.valueOf( SoGLRenderToBuffer.TextureFormats.TEXTURE_RGB.getValue() ), SoGLRenderToBuffer.TextureTargets.valueOf( SoGLRenderToBuffer.TextureTargets.TEXTURE_2D.getValue() ), false, false).
|
void |
setRenderToTexture(boolean enable,
SoGLRenderToBuffer.TextureFormats format)
Deprecated.
Calls setRenderToTexture(enable, format, SoGLRenderToBuffer.TextureTargets.valueOf( SoGLRenderToBuffer.TextureTargets.TEXTURE_2D.getValue() ), false, false).
|
void |
setRenderToTexture(boolean enable,
SoGLRenderToBuffer.TextureFormats format,
SoGLRenderToBuffer.TextureTargets target)
Deprecated.
Calls setRenderToTexture(enable, format, target, false, false).
|
void |
setRenderToTexture(boolean enable,
SoGLRenderToBuffer.TextureFormats format,
SoGLRenderToBuffer.TextureTargets target,
boolean autoMipmap)
Deprecated.
Calls setRenderToTexture(enable, format, target, autoMipmap, false).
|
void |
setRenderToTexture(boolean enable,
SoGLRenderToBuffer.TextureFormats format,
SoGLRenderToBuffer.TextureTargets target,
boolean autoMipmap,
boolean hasDepth)
Deprecated.
Specifies settings for the Pbuffer creation.
|
void |
shareCurrentContext()
Deprecated.
Share OpenGL object with the current context.
|
bindToTexture, bindToTexture, bindToTexture, create, create, disable, getPixelFormat, getSize, getSizei32, isPBuffer, makeCurrent, releaseTexImage, releaseTexImage, resize, resize, selectCubeMapFace, setContextForSharing, setPixelFormat
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public void setRenderToTexture(boolean enable)
setRenderToTexture
in class SoGLRenderToBuffer
public void setRenderToTexture(boolean enable, SoGLRenderToBuffer.TextureFormats format, SoGLRenderToBuffer.TextureTargets target, boolean autoMipmap)
setRenderToTexture
in class SoGLRenderToBuffer
public void setRenderToTexture(boolean enable, SoGLRenderToBuffer.TextureFormats format, SoGLRenderToBuffer.TextureTargets target)
setRenderToTexture
in class SoGLRenderToBuffer
public void setRenderToTexture(boolean enable, SoGLRenderToBuffer.TextureFormats format)
setRenderToTexture
in class SoGLRenderToBuffer
public void shareCurrentContext()
shareCurrentContext
in class SoGLRenderToBuffer
public void setRenderToTexture(boolean enable, SoGLRenderToBuffer.TextureFormats format, SoGLRenderToBuffer.TextureTargets target, boolean autoMipmap, boolean hasDepth)
setRenderToTexture
in class SoGLRenderToBuffer
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com