Subroutine

class moderngl.Subroutine

This class represents a program subroutine.

Subroutine.index

int – The index of the subroutine.

Subroutine.name

str – The name of the subroutine.