StorageBlock#

class moderngl.StorageBlock#

Storage Block metadata

StorageBlock.binding: int#

The binding of the storage block

Type

int

StorageBlock.value: int#

The value of the storage block.

Type

int

StorageBlock.name: str#

The name of the storage block.

Type

str

StorageBlock.index: int#

The index of the storage block.

Type

int

StorageBlock.extra: Any#

Attribute for storing user defined objects

StorageBlock.mglo: Any#

Internal moderngl core object