Click or drag to resize
SoOffscreenRenderAreaRender Method

Performs an offscreen rendering of the scene graph without saving the result.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public virtual SiRenderAreaRenderStatus Render()

Return Value

Type: SiRenderAreaRenderStatus

Implements

SiRenderAreaRender
Remarks

This method initiates the rendering process but does not store the resulting image in any buffer or file. It is useful for scenarios where only the rendering process is required, such as for benchmarking or updating the internal state of the scene without needing to keep the rendered output.

Unlike OIV.Inventor.SoOffscreenRenderArea.RenderToFile(System.String, OIV.Inventor.SoOffscreenRenderArea.OutputFormats), which saves the rendered image to a provided buffer object, or OIV.Inventor.SoOffscreenRenderArea.RenderToBuffer(OIV.Inventor.Devices.SoBufferObject, OIV.Inventor.SoOffscreenRenderArea.OutputFormats), which writes the rendered image directly to a file, this method does not retain the rendered image in any form.

See Also