Click or drag to resize
SoFrameBufferObject Methods

The SoFrameBufferObject type exposes the following members.

Methods
  NameDescription
Public methodBind
Calls Bind((OIV.Inventor.Misc.SoState ^)nullptr, true).
Public methodBind(SoState)
Calls Bind(state, true).
Public methodBind(SoState, Boolean)

Set this Framebuffer as the current rendering target.

Public methodBindToTexture
Calls BindToTexture(false, -1).
(Inherited from SoGLRenderToBuffer.)
Public methodBindToTexture(Boolean)
Calls BindToTexture(bindDepth, -1).
(Inherited from SoGLRenderToBuffer.)
Public methodBindToTexture(Boolean, Int32)

Binds the render buffer to a texture object.

(Inherited from SoGLRenderToBuffer.)
Public methodCreate(SbVec2i32)

Creates a Pbuffer with the specified size.

(Inherited from SoGLRenderToBuffer.)
Public methodCreate(SbVec2s)

Creates a Pbuffer with the specified size.

(Inherited from SoGLRenderToBuffer.)
Public methodDisable

Disable render to buffer Returns true if successful.

(Inherited from SoGLRenderToBuffer.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFlush
Calls Flush((OIV.Inventor.Misc.SoState ^)nullptr).
Public methodFlush(SoState)

Blit the multisampling FBO to the regular FBO.

Public methodGetActualSamplesCount

Returns the number of samples actually used by the FBO.

Public methodGetGraphicConfigTemplate

Gets the current graphics configuration template.

(Inherited from SoGLRenderToBuffer.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetMaxSamples
Calls GetMaxSamples((OIV.Inventor.Misc.SoState ^)nullptr).
Public methodStatic memberGetMaxSamples(SoState)

Returns the maximum number of samples usable for multisampling.

Public methodGetPixelFormat

Returns the current pixel format.

(Inherited from SoGLRenderToBuffer.)
Public methodGetSize

Gets current size as an SbVec2s.

(Inherited from SoGLRenderToBuffer.)
Public methodGetSize_i32

Gets current size as an SbVec2i32.

(Inherited from SoGLRenderToBuffer.)
Public methodGetTexture

Returns the attached texture ID.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsAvailable
Calls IsAvailable((OIV.Inventor.Misc.SoState ^)nullptr).
Public methodStatic memberIsAvailable(SoState)

Returns true if FrameBuffers are available on this system.

Public methodStatic memberIsMultisamplingAvailable
Calls IsMultisamplingAvailable((OIV.Inventor.Misc.SoState ^)nullptr).
Public methodStatic memberIsMultisamplingAvailable(SoState)

Returns true if multisampling is available for FrameBuffers on this system.

Public methodIsPBuffer

Return true if the render buffer is a pbuffer.

(Inherited from SoGLRenderToBuffer.)
Public methodMakeCurrent

Enable render to buffer for OpenGL rendering.

(Inherited from SoGLRenderToBuffer.)
Public methodReleaseTexImage
Calls ReleaseTexImage(false).
(Inherited from SoGLRenderToBuffer.)
Public methodReleaseTexImage(Boolean)

Releases the Pbuffer from the current texture object.

(Inherited from SoGLRenderToBuffer.)
Public methodResize(SbVec2i32)

Resizes Pbuffer.

(Inherited from SoGLRenderToBuffer.)
Public methodResize(SbVec2s)

Resizes Pbuffer.

(Inherited from SoGLRenderToBuffer.)
Public methodSelectCubeMapFace

Selects the face to be used when the rendering target is a cube map.

(Inherited from SoGLRenderToBuffer.)
Public methodSetContextForSharing

++ This has effect only when using PBuffer.

(Inherited from SoGLRenderToBuffer.)
Public methodSetGraphicConfigTemplate

Sets a new graphics configuration template.

(Inherited from SoGLRenderToBuffer.)
Public methodSetPixelFormat

Sets the current pixel format.

(Inherited from SoGLRenderToBuffer.)
Public methodSetRenderToTexture(Boolean)
Calls SetRenderToTexture(enable, OIV.Inventor.SoGLRenderToBuffer.TextureFormats( .SoGLRenderToBuffer.TEXTURE_RGB ), OIV.Inventor.SoGLRenderToBuffer.TextureTargets( .SoGLRenderToBuffer.TEXTURE_2D ), false, false).
(Inherited from SoGLRenderToBuffer.)
Public methodSetRenderToTexture(Boolean, SoGLRenderToBufferTextureFormats)
Calls SetRenderToTexture(enable, format, OIV.Inventor.SoGLRenderToBuffer.TextureTargets( .SoGLRenderToBuffer.TEXTURE_2D ), false, false).
(Inherited from SoGLRenderToBuffer.)
Public methodSetRenderToTexture(Boolean, SoGLRenderToBufferTextureFormats, SoGLRenderToBufferTextureTargets)
Calls SetRenderToTexture(enable, format, target, false, false).
(Inherited from SoGLRenderToBuffer.)
Public methodSetRenderToTexture(Boolean, SoGLRenderToBufferTextureFormats, SoGLRenderToBufferTextureTargets, Boolean)
Calls SetRenderToTexture(enable, format, target, autoMipmap, false).
(Inherited from SoGLRenderToBuffer.)
Public methodSetRenderToTexture(Boolean, SoGLRenderToBufferTextureFormats, SoGLRenderToBufferTextureTargets, Boolean, Boolean)

Specifies settings for the Pbuffer creation.

(Inherited from SoGLRenderToBuffer.)
Public methodSetSamplesCount

Sets the number of samples for multisampling.

Public methodShareCurrentContext

++ This has effect only when using PBuffer.

(Inherited from SoGLRenderToBuffer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnbind

Set the previous framebuffer object as the rendering target.

Top
See Also