fsleyes.gl.offscreenlightboxcanvas

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

class fsleyes.gl.offscreenlightboxcanvas.OffScreenLightBoxCanvas(overlayList, displayCtx, zax, *args, **kwargs)

Bases: fsleyes.gl.lightboxcanvas.LightBoxCanvas, fsleyes.gl.OffScreenCanvasTarget

The OffScreenLightBoxCanvas is a LightBoxCanvas which uses a RenderTexture as its target, for static off-screen Open GL rendering.

__init__(overlayList, displayCtx, zax, *args, **kwargs)

Create an OffScreenLightBoxCanvas.

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

__module__ = 'fsleyes.gl.offscreenlightboxcanvas'