StorageBlock#

class StorageBlock#

Available in Program.__getitem__()

Storage Blocks are OpenGL 4.3+ Program accessible data blocks. Compared to UniformBlocks they can be larger in size and also support write operations. For less than one page (64KB) read-only data use UniformBlocks.

StorageBlock.binding: int#

The binding of the Storage block. Same as the value.

StorageBlock.value: int#

The value of the Storage block. Same as the binding.

StorageBlock.name: str#

The name of the Storage block.

StorageBlock.index: int#

The index of the Storage block.

StorageBlock.size: int#

The size of the Storage block.

StorageBlock.extra: Any#

User defined data.