public class SoGLRenderToBuffer extends Inventor
SoRenderToTarget
instead Modifier and Type | Class and Description |
---|---|
static class |
SoGLRenderToBuffer.CubeMapTextureFaces
Deprecated.
Face id of the cube map.
|
static class |
SoGLRenderToBuffer.TextureFormats
Deprecated.
Texture format.
|
static class |
SoGLRenderToBuffer.TextureTargets
Deprecated.
OpenGL target.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
boolean |
bindToTexture()
Deprecated.
Calls bindToTexture(false, (int)-1).
|
boolean |
bindToTexture(boolean bindDepth)
Deprecated.
Calls bindToTexture(bindDepth, (int)-1).
|
boolean |
bindToTexture(boolean bindDepth,
int texObj)
Deprecated.
Binds the render buffer to a texture object.
|
boolean |
create(SbVec2i32 size)
Deprecated.
Creates a Pbuffer with the specified size.
|
boolean |
create(SbVec2s size)
Deprecated.
Creates a Pbuffer with the specified size.
|
void |
disable()
Deprecated.
Disable render to buffer Returns true if successful.
|
int |
getPixelFormat()
Deprecated.
Returns the current pixel format.
|
SbVec2s |
getSize()
Deprecated.
Gets current size as an
SbVec2s . |
SbVec2i32 |
getSizei32()
Deprecated.
Gets current size as an
SbVec2i32 . |
boolean |
isPBuffer()
Deprecated.
Return true if the render buffer is a pbuffer.
|
boolean |
makeCurrent()
Deprecated.
Enable render to buffer for OpenGL rendering.
|
boolean |
releaseTexImage()
Deprecated.
Calls releaseTexImage(false).
|
boolean |
releaseTexImage(boolean bindDepth)
Deprecated.
Releases the Pbuffer from the current texture object.
|
boolean |
resize(SbVec2i32 size)
Deprecated.
Resizes Pbuffer.
|
boolean |
resize(SbVec2s size)
Deprecated.
Resizes Pbuffer.
|
boolean |
selectCubeMapFace(SoGLRenderToBuffer.CubeMapTextureFaces face)
Deprecated.
Selects the face to be used when the rendering target is a cube map.
|
void |
setContextForSharing(SoGLContext name_15304)
Deprecated.
++ This has effect only when using PBuffer.
|
void |
setPixelFormat(int format)
Deprecated.
Sets the current pixel format.
|
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.
++ This has effect only when using PBuffer.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int TEXTURE_RGB
SoGLRenderToBuffer.TextureFormats.TEXTURE_RGB
instead.@Deprecated public static final int TEXTURE_RGBA
SoGLRenderToBuffer.TextureFormats.TEXTURE_RGBA
instead.@Deprecated public static final int TEXTURE_DEPTH
SoGLRenderToBuffer.TextureFormats.TEXTURE_DEPTH
instead.@Deprecated public static final int TEXTURE_DEPTH16
SoGLRenderToBuffer.TextureFormats.TEXTURE_DEPTH16
instead.@Deprecated public static final int TEXTURE_DEPTH_RGBA
SoGLRenderToBuffer.TextureFormats.TEXTURE_DEPTH_RGBA
instead.@Deprecated public static final int TEXTURE_RGB_FLOAT16
SoGLRenderToBuffer.TextureFormats.TEXTURE_RGB_FLOAT16
instead.@Deprecated public static final int TEXTURE_RGBA_FLOAT16
SoGLRenderToBuffer.TextureFormats.TEXTURE_RGBA_FLOAT16
instead.@Deprecated public static final int TEXTURE_RGB_FLOAT32
SoGLRenderToBuffer.TextureFormats.TEXTURE_RGB_FLOAT32
instead.@Deprecated public static final int TEXTURE_RGBA_FLOAT32
SoGLRenderToBuffer.TextureFormats.TEXTURE_RGBA_FLOAT32
instead.@Deprecated public static final int TEXTURE_STENCIL_INDEX8
SoGLRenderToBuffer.TextureFormats.TEXTURE_STENCIL_INDEX8
instead.@Deprecated public static final int TEXTURE_STENCIL_INDEX
SoGLRenderToBuffer.TextureFormats.TEXTURE_STENCIL_INDEX
instead.@Deprecated public static final int TEXTURE_DEPTH_STENCIL
SoGLRenderToBuffer.TextureFormats.TEXTURE_DEPTH_STENCIL
instead.@Deprecated public static final int TEXTURE_UNKNOW
SoGLRenderToBuffer.TextureFormats.TEXTURE_UNKNOW
instead.@Deprecated public static final int TEXTURE_1D
SoGLRenderToBuffer.TextureTargets.TEXTURE_1D
instead.@Deprecated public static final int TEXTURE_2D
SoGLRenderToBuffer.TextureTargets.TEXTURE_2D
instead.@Deprecated public static final int TEXTURE_3D
SoGLRenderToBuffer.TextureTargets.TEXTURE_3D
instead.@Deprecated public static final int TEXTURE_CUBE_MAP
SoGLRenderToBuffer.TextureTargets.TEXTURE_CUBE_MAP
instead.@Deprecated public static final int TEXTURE_RECTANGLE
SoGLRenderToBuffer.TextureTargets.TEXTURE_RECTANGLE
instead.@Deprecated public static final int TEXTURE_CUBE_MAP_POSITIVE_X
SoGLRenderToBuffer.CubeMapTextureFaces.TEXTURE_CUBE_MAP_POSITIVE_X
instead.@Deprecated public static final int TEXTURE_CUBE_MAP_POSITIVE_Y
SoGLRenderToBuffer.CubeMapTextureFaces.TEXTURE_CUBE_MAP_POSITIVE_Y
instead.@Deprecated public static final int TEXTURE_CUBE_MAP_POSITIVE_Z
SoGLRenderToBuffer.CubeMapTextureFaces.TEXTURE_CUBE_MAP_POSITIVE_Z
instead.@Deprecated public static final int TEXTURE_CUBE_MAP_NEGATIVE_X
SoGLRenderToBuffer.CubeMapTextureFaces.TEXTURE_CUBE_MAP_NEGATIVE_X
instead.@Deprecated public static final int TEXTURE_CUBE_MAP_NEGATIVE_Y
SoGLRenderToBuffer.CubeMapTextureFaces.TEXTURE_CUBE_MAP_NEGATIVE_Y
instead.@Deprecated public static final int TEXTURE_CUBE_MAP_NEGATIVE_Z
SoGLRenderToBuffer.CubeMapTextureFaces.TEXTURE_CUBE_MAP_NEGATIVE_Z
instead.public boolean bindToTexture()
public void setRenderToTexture(boolean enable, SoGLRenderToBuffer.TextureFormats format, SoGLRenderToBuffer.TextureTargets target, boolean autoMipmap)
public boolean releaseTexImage()
public boolean bindToTexture(boolean bindDepth)
public void setRenderToTexture(boolean enable)
public void setRenderToTexture(boolean enable, SoGLRenderToBuffer.TextureFormats format, SoGLRenderToBuffer.TextureTargets target)
public void setRenderToTexture(boolean enable, SoGLRenderToBuffer.TextureFormats format)
public void setRenderToTexture(boolean enable, SoGLRenderToBuffer.TextureFormats format, SoGLRenderToBuffer.TextureTargets target, boolean autoMipmap, boolean hasDepth)
public int getPixelFormat()
public boolean resize(SbVec2s size)
public void shareCurrentContext()
public void setContextForSharing(SoGLContext name_15304)
Sets OpenGL render context for display list sharing. Must be set before calling the create()
method. There is no guarantee that sharing will be allowed.
public void setPixelFormat(int format)
public boolean resize(SbVec2i32 size)
public boolean create(SbVec2i32 size)
public boolean selectCubeMapFace(SoGLRenderToBuffer.CubeMapTextureFaces face)
public boolean create(SbVec2s size)
public boolean isPBuffer()
public void disable()
public boolean bindToTexture(boolean bindDepth, int texObj)
public boolean makeCurrent()
public boolean releaseTexImage(boolean bindDepth)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com