Struct ash::vk::OpticalFlowSessionCreateInfoNV
source · #[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
Fields§
§s_type: StructureType
§p_next: *mut c_void
§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: OpticalFlowSessionCreateFlagsNV
Implementations§
source§impl OpticalFlowSessionCreateInfoNV
impl OpticalFlowSessionCreateInfoNV
pub fn builder<'a>() -> OpticalFlowSessionCreateInfoNVBuilder<'a>
Trait Implementations§
source§impl Clone for OpticalFlowSessionCreateInfoNV
impl Clone for OpticalFlowSessionCreateInfoNV
source§fn clone(&self) -> OpticalFlowSessionCreateInfoNV
fn clone(&self) -> OpticalFlowSessionCreateInfoNV
Returns a copy 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 moresource§impl TaggedStructure for OpticalFlowSessionCreateInfoNV
impl TaggedStructure for OpticalFlowSessionCreateInfoNV
const STRUCTURE_TYPE: StructureType = StructureType::OPTICAL_FLOW_SESSION_CREATE_INFO_NV
impl 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 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