texture internal format is now determine directly from the pixel buffer type. (enum -> plane index)