TextureArray#

TextureArray#

Constructor#

TextureArray(data[, property_name, ...])

Manages an array of Textures representing chunks of an image.

Properties#

TextureArray.buffer

TextureArray.col_indices

column indices that are used to chunk the big data array into individual Textures on the GPU

TextureArray.colorspace

Colorspace, read only

TextureArray.cpu_buffer

whether or not a cpu buffer exists for this TextureArray

TextureArray.row_indices

row indices that are used to chunk the big data array into individual Textures on the GPU

TextureArray.shape

the shape of the represented data, [n_rows, n_cols] or [n_rows, n_cols, 3 | 4]

TextureArray.value

array buffer if Texture has a cpu buffer, otherwise None

Methods#

TextureArray.add_event_handler(handler)

Add an event handler.

TextureArray.block_events(val)

Block all events from this feature

TextureArray.clear_event_handlers()

Clear all event handlers

TextureArray.remove_event_handler(handler)

Remove a registered event handler.

TextureArray.set_value(graphic, value)

Graphic Feature value setter, must be implemented in subclass