fsleyes.gl.textures.texture3d
This module provides the Texture3D class, which represents a
3D OpenGL texture.
- class fsleyes.gl.textures.texture3d.Texture3D(name, **kwargs)[source]
Bases:
fsleyes.gl.textures.texture.TextureThe
Texture3Dclass contains the logic required to create and manage a 3D texture.- __init__(name, **kwargs)[source]
Create a
Texture3D.- Parameters
name – A unique name for the texture.
All other keyword arguments are passed through to
Texture.__init__().
- doRefresh()[source]
Overrides
Texture.doRefresh().(Re-)configures the OpenGL texture.
- doPatch(data, offset)[source]
Overrides
Texture.doPatch(). Updates part of the texture data.
- __annotations__ = {}
- __module__ = 'fsleyes.gl.textures.texture3d'