Skip to content
Back to top
View this page

# UniformBlock

class UniformBlock

  Available in `Program.__getitem__()`

UniformBlock.binding: int

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

UniformBlock.value: int

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

UniformBlock.name: str

  The name of the uniform block.

UniformBlock.index: int

  The index of the uniform block.

UniformBlock.size: int

  The size of the uniform block.

UniformBlock.extra: Any

  User defined data.