[][src]Function realsense_sys::rs2_create_device

pub unsafe extern "C" fn rs2_create_device(
    info_list: *const rs2_device_list,
    index: c_int,
    error: *mut *mut rs2_error
) -> *mut rs2_device

Creates a device by index. The device object represents a physical camera and provides the means to manipulate it. \param[in] info_list the list containing the device to retrieve \param[in] index The zero based index of device to retrieve \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored \return The requested device, should be released by rs2_delete_device