1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
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.
|