[][src]Function realsense_sys::rs2_create_sensor

pub unsafe extern "C" fn rs2_create_sensor(
    list: *const rs2_sensor_list,
    index: c_int,
    error: *mut *mut rs2_error
) -> *mut rs2_sensor

create sensor by index \param[in] index the zero based index of sensor to retrieve \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return the requested sensor, should be released by rs2_delete_sensor