RhinoCommon API
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

public bool DrawStereoFrameBuffer( ViewportInfo viewportLeft, ViewportInfo viewportRight, out uint handleLeft, out uint handleRight )
Public Function DrawStereoFrameBuffer ( viewportLeft As ViewportInfo, viewportRight As ViewportInfo, <OutAttribute> ByRef handleLeft As UInteger, <OutAttribute> ByRef handleRight As UInteger ) As Boolean
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: Booleantrue if drawing succeeded, false otherwise.
