This applies to scalar GL attributes, so it's ok to stick with Python types IMO.