#[repr(transparent)]pub struct VTMotionBlurParametersSubmissionMode(pub NSInteger);VTFrameProcessor_MotionBlur and objc2 only.Expand description
Indicates the order of input frames.
When submitting VTMotionBlurParameters to the processor, you need to provide one of these values based on how
the input frames are related to each other.
Use VTMotionBlurParametersSubmissionModeSequential to indicate that the current submission follows presentation
time order without jump or skip, when compared to previous submissions. This value provides better processor
performance than other values.
Use VTMotionBlurParametersSubmissionModeRandom to indicate that the current submission has no relation to the
previous submission. Typically, this indicates a jump or a skip in the frame sequence. The processor clears internal
caches when it receives this value in VTFrameProcessor/processWithParameters function call.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl VTMotionBlurParametersSubmissionMode
impl VTMotionBlurParametersSubmissionMode
pub const Random: Self
pub const Sequential: Self
Trait Implementations§
Source§impl Clone for VTMotionBlurParametersSubmissionMode
impl Clone for VTMotionBlurParametersSubmissionMode
Source§fn clone(&self) -> VTMotionBlurParametersSubmissionMode
fn clone(&self) -> VTMotionBlurParametersSubmissionMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Ord for VTMotionBlurParametersSubmissionMode
impl Ord for VTMotionBlurParametersSubmissionMode
Source§fn cmp(&self, other: &VTMotionBlurParametersSubmissionMode) -> Ordering
fn cmp(&self, other: &VTMotionBlurParametersSubmissionMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for VTMotionBlurParametersSubmissionMode
impl PartialEq for VTMotionBlurParametersSubmissionMode
Source§fn eq(&self, other: &VTMotionBlurParametersSubmissionMode) -> bool
fn eq(&self, other: &VTMotionBlurParametersSubmissionMode) -> bool
self and other values to be equal, and is used by ==.