UniformBlock
============

.. py:class:: UniformBlock

    Available in :py:meth:`Program.__getitem__`

.. py:attribute:: UniformBlock.binding
    :type: int

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

.. py:attribute:: UniformBlock.value
    :type: int

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

.. py:attribute:: UniformBlock.name
    :type: str

    The name of the uniform block.

.. py:attribute:: UniformBlock.index
    :type: int

    The index of the uniform block.

.. py:attribute:: UniformBlock.size
    :type: int

    The size of the uniform block.

.. py:attribute:: UniformBlock.extra
    :type: Any

    User defined data.
