fsleyes.gl.offscreenscene3dcanvas

This module provides the OffScreenScene3DCanvas, which is a Scene3DCanvas for use in off-screen OpenGL rendering.

class fsleyes.gl.offscreenscene3dcanvas.OffScreenScene3DCanvas(overlayList, displayCtx, *args, **kwargs)[source]

Bases: fsleyes.gl.scene3dcanvas.Scene3DCanvas, fsleyes.gl.OffScreenCanvasTarget

The OffScreensScene3DCanvas is a Scene3DCanvas which uses a RenderTexture as its target, for static off-screen OpenGL rendering.

__init__(overlayList, displayCtx, *args, **kwargs)[source]

Create an OffScreenScene3DCanvas.

See the Scene3DCanvas and OffscreenCanvasTarget classes for details on the other arguments.

__annotations__ = {}
__module__ = 'fsleyes.gl.offscreenscene3dcanvas'