#[repr(C, packed(1))]pub struct PsWDROutputMode {
pub totalRange: PsWDRTotalRange,
pub range1: PsDepthRange,
pub range1Count: u8,
pub range2: PsDepthRange,
pub range2Count: u8,
pub range3: PsDepthRange,
pub range3Count: u8,
}Expand description
@brief WDR (Wide Dynamic Range) output mode settings (e.g. Near/Far range fusion).
Fields§
§totalRange: PsWDRTotalRange!< The number of ranges supported. Currently only two or three ranges are supported (e.g. Near/Far or Near/Mid/Far).
range1: PsDepthRange!< The first range.
range1Count: u8!< The count of successive range1 frames.
range2: PsDepthRange!< The second range.
range2Count: u8!< The count of successive range2 frames.
range3: PsDepthRange!< Third range. This range only takes effect when totalRange is set to 3.
range3Count: u8!< The count of successive range3 frames. This only takes effect when totalRange is set to 3.
Trait Implementations§
Source§impl Clone for PsWDROutputMode
impl Clone for PsWDROutputMode
Source§fn clone(&self) -> PsWDROutputMode
fn clone(&self) -> PsWDROutputMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PsWDROutputMode
Source§impl Debug for PsWDROutputMode
impl Debug for PsWDROutputMode
Auto Trait Implementations§
impl Freeze for PsWDROutputMode
impl RefUnwindSafe for PsWDROutputMode
impl Send for PsWDROutputMode
impl Sync for PsWDROutputMode
impl Unpin for PsWDROutputMode
impl UnsafeUnpin for PsWDROutputMode
impl UnwindSafe for PsWDROutputMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more