Click or drag to resize

DisplayPipelineDrawStereoFrameBuffer Method

Draws the viewport as seen from the left and the right eye viewports and returns the result as OpenGL texture handles.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.8
Syntax
public bool DrawStereoFrameBuffer(
	ViewportInfo viewportLeft,
	ViewportInfo viewportRight,
	out uint handleLeft,
	out uint handleRight
)

Parameters

viewportLeft
Type: Rhino.DocObjectsViewportInfo
The viewport representing the left eye location and look direction.
viewportRight
Type: Rhino.DocObjectsViewportInfo
The viewport representing the right eye location and look direction.
handleLeft
Type: SystemUInt32
Will contain the OpenGL texture handle which references the left output color buffer.
handleRight
Type: SystemUInt32
Will contain the OpenGL texture handle which references the right output color buffer.

Return Value

Type: Boolean
true if drawing succeeded, false otherwise.
See Also