UniformBlock

class moderngl.UniformBlock
UniformBlock.binding

The binding of the uniform block.

Type:int
UniformBlock.name

The name of the uniform block.

Type:str
UniformBlock.index

The index of the uniform block.

Type:int
UniformBlock.size

The size of the uniform block.

Type:int
UniformBlock.extra

Any - Attribute for storing user defined objects