UniformBlock#
- class moderngl.UniformBlock#
Uniform Block metadata
- UniformBlock.binding: int#
The binding of the uniform block.
- Type
int
- UniformBlock.value: int#
The value of the uniform block.
- Type
int
- UniformBlock.name: str#
The name of the uniform block.
- Type
str
- UniformBlock.index: int#
The index of the uniform block.
- Type
int
- UniformBlock.size: int#
The size of the uniform block.
- Type
int
- UniformBlock.extra: Any#
Attribute for storing user defined objects
- UniformBlock.mglo: Any#
Internal moderngl core object