Use a regular enum, to avoid running out of bits. Differential Revision: https://developer.blender.org/D7003