Function rs2_option_from_string

Function Documentation

rs2_option rs2_option_from_string(const char *option_name)

Get the specific rs2_option identifier given its name if found, or RS2_OPTION_COUNT if not. See rs2_option_to_string() for the reverse.

Parameters:

option_name[in] the case-sensitive option name