UniformBlock

class moderngl.UniformBlock

Uniform Block metadata.

UniformBlock.binding

The binding of the uniform block.

Type:

int

UniformBlock.value

The value 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

UniformBlock.mglo