#[repr(C)]pub struct OpticalFlowSessionCreateInfoNV {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub width: u32,
pub height: u32,
pub image_format: Format,
pub flow_vector_format: Format,
pub cost_format: Format,
pub output_grid_size: OpticalFlowGridSizeFlagsNV,
pub hint_grid_size: OpticalFlowGridSizeFlagsNV,
pub performance_level: OpticalFlowPerformanceLevelNV,
pub flags: OpticalFlowSessionCreateFlagsNV,
}Expand description
VkOpticalFlowSessionCreateInfoNV
Provided by VK_NV_optical_flow.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_OPTICAL_FLOW_SESSION_CREATE_INFO_NV.
p_next: *mut c_voidOptional, may be null.
width: u32§height: u32§image_format: Format§flow_vector_format: Format§cost_format: Format§output_grid_size: OpticalFlowGridSizeFlagsNV§hint_grid_size: OpticalFlowGridSizeFlagsNV§performance_level: OpticalFlowPerformanceLevelNV§flags: OpticalFlowSessionCreateFlagsNVImplementations§
Source§impl OpticalFlowSessionCreateInfoNV
impl OpticalFlowSessionCreateInfoNV
Sourcepub fn builder<'a>() -> OpticalFlowSessionCreateInfoNVBuilder<'a>
pub fn builder<'a>() -> OpticalFlowSessionCreateInfoNVBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for OpticalFlowSessionCreateInfoNV
impl Clone for OpticalFlowSessionCreateInfoNV
Source§fn clone(&self) -> OpticalFlowSessionCreateInfoNV
fn clone(&self) -> OpticalFlowSessionCreateInfoNV
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpticalFlowSessionCreateInfoNV
Auto Trait Implementations§
impl Freeze for OpticalFlowSessionCreateInfoNV
impl RefUnwindSafe for OpticalFlowSessionCreateInfoNV
impl !Send for OpticalFlowSessionCreateInfoNV
impl !Sync for OpticalFlowSessionCreateInfoNV
impl Unpin for OpticalFlowSessionCreateInfoNV
impl UnsafeUnpin for OpticalFlowSessionCreateInfoNV
impl UnwindSafe for OpticalFlowSessionCreateInfoNV
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