[][src]Function realsense_sys::rs2_stream_profile_is

pub unsafe extern "C" fn rs2_stream_profile_is(
    mode: *const rs2_stream_profile,
    type_: rs2_extension,
    error: *mut *mut rs2_error
) -> c_int

Try to extend stream profile to an extension type \param[in] mode input stream profile \param[in] type extension type, for example RS2_EXTENSION_VIDEO_STREAM_PROFILE \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return non-zero if profile is extendable to specified extension, zero otherwise