public class SoFrameBufferObject extends SoGLRenderToBuffer
FrameBuffers are only available if the graphics hardware supports OpenGL 2.0 or the OpenGL framebufferobject extension. This extension is named "GL_frame_buffer_object".
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later. Use SoRenderToTarget
.
See also:
SoPBuffer
, SoOffscreenRendererDeprecated since Open Inventor 9610
No longer supported, use SoRenderToTarget
instead
Modifier and Type | Class and Description |
---|---|
static class |
SoFrameBufferObject.Attachments
Deprecated.
Attachement.
|
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
Constructor and Description |
---|
SoFrameBufferObject()
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
bind()
Deprecated.
Calls bind((com.openinventor.inventor.misc.SoState)null, (boolean)true).
|
boolean |
bind(SoState state)
Deprecated.
Calls bind(state, (boolean)true).
|
boolean |
bind(SoState state,
boolean bindMultisampleFBO)
Deprecated.
Set this Framebuffer as the current rendering target.
|
void |
flush()
Deprecated.
Calls flush((com.openinventor.inventor.misc.SoState)null).
|
void |
flush(SoState state)
Deprecated.
Blit the multisampling FBO to the regular FBO.
|
int |
getActualSamplesCount()
Deprecated.
Returns the number of samples actually used by the FBO.
|
static int |
getMaxSamples()
Deprecated.
Calls getMaxSamples((com.openinventor.inventor.misc.SoState)null).
|
static int |
getMaxSamples(SoState state)
Deprecated.
Returns the maximum number of samples usable for multisampling.
|
int |
getTexture()
Deprecated.
Returns the attached texture ID.
|
static boolean |
isAvailable()
Deprecated.
Calls isAvailable((com.openinventor.inventor.misc.SoState)null).
|
static boolean |
isAvailable(SoState state)
Deprecated.
Returns true if FrameBuffers are available on this system.
|
static boolean |
isMultisamplingAvailable()
Deprecated.
Calls isMultisamplingAvailable((com.openinventor.inventor.misc.SoState)null).
|
static boolean |
isMultisamplingAvailable(SoState state)
Deprecated.
Returns true if multisampling is available for FrameBuffers on this system.
|
void |
setSamplesCount(int samples)
Deprecated.
Sets the number of samples for multisampling.
|
void |
unbind()
Deprecated.
Set the previous framebuffer object as the rendering target.
|
bindToTexture, bindToTexture, bindToTexture, create, create, disable, getPixelFormat, getSize, getSizei32, isPBuffer, makeCurrent, releaseTexImage, releaseTexImage, resize, resize, selectCubeMapFace, setContextForSharing, setPixelFormat, setRenderToTexture, setRenderToTexture, setRenderToTexture, setRenderToTexture, setRenderToTexture, shareCurrentContext
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int COLOR_ATTACHMENT0
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT0
instead.@Deprecated public static final int COLOR_ATTACHMENT1
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT1
instead.@Deprecated public static final int COLOR_ATTACHMENT2
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT2
instead.@Deprecated public static final int COLOR_ATTACHMENT3
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT3
instead.@Deprecated public static final int COLOR_ATTACHMENT4
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT4
instead.@Deprecated public static final int COLOR_ATTACHMENT5
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT5
instead.@Deprecated public static final int COLOR_ATTACHMENT6
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT6
instead.@Deprecated public static final int COLOR_ATTACHMENT7
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT7
instead.@Deprecated public static final int COLOR_ATTACHMENT8
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT8
instead.@Deprecated public static final int COLOR_ATTACHMENT9
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT9
instead.@Deprecated public static final int COLOR_ATTACHMENT10
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT10
instead.@Deprecated public static final int COLOR_ATTACHMENT11
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT11
instead.@Deprecated public static final int COLOR_ATTACHMENT12
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT12
instead.@Deprecated public static final int COLOR_ATTACHMENT13
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT13
instead.@Deprecated public static final int COLOR_ATTACHMENT14
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT14
instead.@Deprecated public static final int COLOR_ATTACHMENT15
SoFrameBufferObject.Attachments.COLOR_ATTACHMENT15
instead.@Deprecated public static final int DEPTH_ATTACHMENT
SoFrameBufferObject.Attachments.DEPTH_ATTACHMENT
instead.@Deprecated public static final int STENCIL_ATTACHMENT
SoFrameBufferObject.Attachments.STENCIL_ATTACHMENT
instead.@Deprecated public static final int DEPTH_STENCIL_ATTACHMENT
SoFrameBufferObject.Attachments.DEPTH_STENCIL_ATTACHMENT
instead.@Deprecated public static final int LAST_ATTACHMENT
SoFrameBufferObject.Attachments.LAST_ATTACHMENT
instead.public SoFrameBufferObject()
public boolean bind(SoState state)
public void flush()
public static boolean isAvailable()
public static int getMaxSamples()
public static boolean isMultisamplingAvailable()
public boolean bind()
public static int getMaxSamples(SoState state)
public void unbind()
public int getTexture()
public boolean bind(SoState state, boolean bindMultisampleFBO)
public static boolean isMultisamplingAvailable(SoState state)
public int getActualSamplesCount()
public static boolean isAvailable(SoState state)
public void setSamplesCount(int samples)
public void flush(SoState state)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com