Add utility functions globally for mapping shader enums <-> idx
Set rows/columns to 0 when members[] contains array values