Added max texture unit getter