Data type: enum

Documentation > Data Types > Data type: enum

Data type: enum

Enum, or enumeration, means one out multiple pre-defined values have to be picked. This can be simple YES/NO questions, ON/OFF or multiple choices.

A good example is the resolution selection for the render_surface_single module.

Here you are given a range of common resolutions. The "CUSTOM_SIZE" option means the module will use the values in size_x and size_y which otherwise would be ignored.

How Enums differ from other data types

Modules with enum