Bitmask

Recommended Wikipedia Article

Weather Example

Rain’s default mask is 1 (0b01), and snow’s default mask is 2 (0b10). An ambience volume could enable both with 3 (0b11), or neither with 0 (0b00).