Function projectm_rs::projectm_create
source · [−]pub unsafe extern "C" fn projectm_create(
setting_file_path: *const c_char,
flags: c_int
) -> projectm_handle
Expand description
@brief Creates a new projectM instance, reading settings from the given file. @param setting_file_path A path to the settings file to read the configuration from. If NULL or an empty path are provided, default settings will be used. @param flags Any combination of values from the projectm_flags enumeration. @return A projectM handle for the newly created instance that must be used in subsequent API calls. NULL if the instance could not be created successfully.