Subroutine#
- class moderngl.Subroutine#
This class represents a program subroutine.
- Subroutine.index#
The index of the subroutine.
- Type
int
- Subroutine.name#
The name of the subroutine.
- Type
str
- Subroutine.extra#
Any - Attribute for storing user defined objects