fsleyes.gl.textures.texture3d

This module provides the Texture3D class, which represents a 3D OpenGL texture.

class fsleyes.gl.textures.texture3d.Texture3D(name, **kwargs)

Bases: fsleyes.gl.textures.texture.Texture

The Texture3D class contains the logic required to create and manage a 3D texture.

__init__(name, **kwargs)

Create a Texture3D.

Parameters

name – A unique name for the texture.

All other keyword arguments are passed through to Texture.__init__().

doRefresh()

Overrides Texture.doRefresh().

(Re-)configures the OpenGL texture.

doPatch(data, offset)

Overrides Texture.doPatch(). Updates part of the texture data.

__module__ = 'fsleyes.gl.textures.texture3d'