| SoOffscreenRenderer Methods |
The SoOffscreenRenderer type exposes the following members.
| Name | Description | |
|---|---|---|
| Dispose | ||
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetBackgroundColor | Returns the background color for rendering. | |
| GetBackgroundColorRGBA | Returns the RGBA background color for rendering. | |
| GetBuffer | Calls GetBuffer(OIV.Inventor.SoOffscreenRenderer.BufferTypes( .SoOffscreenRenderer.RGB_BUFFER )). | |
| GetBuffer(SoOffscreenRendererBufferTypes) | Returns a buffer containing the rendered image. | |
| GetBufferSize | Calls GetBufferSize(OIV.Inventor.SoOffscreenRenderer.BufferTypes( .SoOffscreenRenderer.RGB_BUFFER )). | |
| GetBufferSize(SoOffscreenRendererBufferTypes) | Returns the buffer size in bytes. | |
| GetColorDepth | Gets the color depth to be used for offscreen rendering. | |
| GetComponents | Returns the components to be rendered. | |
| GetDC | <font color="#0000FF">[Windows only] This method has no effect on UNIX systems. | |
| GetFullSceneAntialiasing | Returns the full-scene antialiasing preference and number of samples. | |
| GetGLRenderAction | Gets the render action to use for rendering. | |
| GetGraphicConfigTemplate | Gets the current graphics configuration template. | |
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetLongBufferSize | Obsolete. Returns the buffer size in bytes. | |
| GetMaximumResolution | Gets the maximum supported resolution of the viewport. | |
| GetMaxSubimage | Synonym for getMaxTileSize. | |
| GetMaxTileSize | Gets the maximum subimage (tile) size for rendering. | |
| GetNumEdgePixels | Gets the number of pixels on the edge of each subimage that are not written on the big image (overlapped pixels). | |
| GetPBuffer | Get the SoPBuffer used for rendering. | |
| GetPbufferEnable | Returns true if a Pbuffer may be used for rendering. | |
| GetScreenPixelsPerInch | Returns the number of pixels per inch (in the horizontal direction) of the current X device screen. | |
| GetShareContext | Gets the OpenGL context shared by the SoOffscreenRenderer. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetViewportRegion | Returns the viewport region used for rendering. | |
| IsFullSceneAntialiasing | Returns true if FSAA is currently enabled. | |
| Render(SoNode) | Renders the given scene, specified as a node, into an off-screen buffer. | |
| Render(SoPath) | Renders the given scene, specified as a path, into an off-screen buffer. | |
| SetBackgroundColor | Sets the RGB background color for rendering. | |
| SetBackgroundColorRGBA | Sets the RGBA background color for rendering. | |
| SetColorDepth | Sets the color depth to be used for offscreen rendering. | |
| SetComponents | Sets the components to be rendered. | |
| SetFullSceneAntialiasing(Boolean) | Calls SetFullSceneAntialiasing(enable, -1.0, SoFullSceneAntialiasing.ALL). | |
| SetFullSceneAntialiasing(SoGraphicConfigTemplatePreferences) | Calls SetFullSceneAntialiasing(pref, System.Int32(0), INT_MAX). | |
| SetFullSceneAntialiasing(Boolean, Single) | Calls SetFullSceneAntialiasing(enable, quality, SoFullSceneAntialiasing.ALL). | |
| SetFullSceneAntialiasing(SoGraphicConfigTemplatePreferences, Int32) | Calls SetFullSceneAntialiasing(pref, minFsaaBits, INT_MAX). | |
| SetFullSceneAntialiasing(Boolean, Single, Int32) | Sets the full-scene antialiasing preferences. | |
| SetFullSceneAntialiasing(SoGraphicConfigTemplatePreferences, Int32, Int32) | Sets the full-scene antialiasing preferences. | |
| SetGLRenderAction | Sets the render action to use for rendering. | |
| SetGraphicConfigTemplate | Sets a new graphics configuration template. | |
| SetMaxSubimage | Synonym for setMaxTileSize. | |
| SetMaxTileSize | Sets the maximum subimage (tile) size for rendering. | |
| SetNumEdgePixels | Sets the number of pixels on the edge of each subimage that are not written on the big image (overlapped pixels). | |
| SetPbufferEnable | Specifies if a Pbuffer may be used for rendering. | |
| SetRegion | Sets a subregion of the viewport to be rendered. | |
| SetRegion_i32 | Sets a subregion of the viewport to be rendered. | |
| SetShareContext | Sets the OpenGL context to be shared by the SoOffscreenRenderer. | |
| SetTileObserver | Specifies a tile observer object which will be called after each tile is rendered. | |
| SetupPixmap | Do all the setup for rendering and make the offscreen context current (useful if you want to make your own OpenGL calls) | |
| SetViewportRegion | Sets the viewport region used for rendering. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteToBMP | <font color="#0000FF">[Windows only] This method has no effect on UNIX systems. | |
| WriteToJPEG(String) | Calls WriteToJPEG(filename, 1.0). | |
| WriteToJPEG(String, Single) | Writes the buffer as a JPEG file to the given filename. | |
| WriteToJPEGBuffer |
Writes the JPEG compression stream to a buffer.
| |
| WriteToPNG | Writes the buffer as a PNG file to the given filename. | |
| WriteToPostScript(String) | Writes the buffer as encapsulated PostScript to the given filename. | |
| WriteToPostScript(String, SbVec2f) | Writes the buffer as encapsulated PostScript to the given filename. | |
| WriteToRaster | Writes the buffer using the image writer class passed as the second parameter. | |
| WriteToRGB | Writes the buffer as an .rgb file to the given filename. | |
| WriteToTIFF(String) | Calls WriteToTIFF(filename, OIV.Inventor.SoOffscreenRenderer.TIFFCompressionModes( .SoOffscreenRenderer.PACKBITS_COMPRESSION )). | |
| WriteToTIFF(String, SoOffscreenRendererTIFFCompressionModes) | Writes the buffer as a TIFF file to the given filename. |