#[repr(C)]pub struct PhysicalDeviceOpticalFlowPropertiesNV {Show 13 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub supported_output_grid_sizes: OpticalFlowGridSizeFlagBitsNV,
pub supported_hint_grid_sizes: OpticalFlowGridSizeFlagBitsNV,
pub hint_supported: u32,
pub cost_supported: u32,
pub bidirectional_flow_supported: u32,
pub global_flow_supported: u32,
pub min_width: u32,
pub min_height: u32,
pub max_width: u32,
pub max_height: u32,
pub max_num_regions_of_interest: u32,
}Expand description
VkPhysicalDeviceOpticalFlowPropertiesNV
Provided by VK_NV_optical_flow.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV.
p_next: *mut c_voidOptional, may be null.
supported_output_grid_sizes: OpticalFlowGridSizeFlagBitsNV§supported_hint_grid_sizes: OpticalFlowGridSizeFlagBitsNV§hint_supported: u32§cost_supported: u32§bidirectional_flow_supported: u32§global_flow_supported: u32§min_width: u32§min_height: u32§max_width: u32§max_height: u32§max_num_regions_of_interest: u32Implementations§
Source§impl PhysicalDeviceOpticalFlowPropertiesNV
impl PhysicalDeviceOpticalFlowPropertiesNV
Sourcepub fn builder<'a>() -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceOpticalFlowPropertiesNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceOpticalFlowPropertiesNV
impl Clone for PhysicalDeviceOpticalFlowPropertiesNV
Source§fn clone(&self) -> PhysicalDeviceOpticalFlowPropertiesNV
fn clone(&self) -> PhysicalDeviceOpticalFlowPropertiesNV
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 moreSource§impl Default for PhysicalDeviceOpticalFlowPropertiesNV
impl Default for PhysicalDeviceOpticalFlowPropertiesNV
Source§fn default() -> PhysicalDeviceOpticalFlowPropertiesNV
fn default() -> PhysicalDeviceOpticalFlowPropertiesNV
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceOpticalFlowPropertiesNV
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceOpticalFlowPropertiesNV
Auto Trait Implementations§
impl Freeze for PhysicalDeviceOpticalFlowPropertiesNV
impl RefUnwindSafe for PhysicalDeviceOpticalFlowPropertiesNV
impl !Send for PhysicalDeviceOpticalFlowPropertiesNV
impl !Sync for PhysicalDeviceOpticalFlowPropertiesNV
impl Unpin for PhysicalDeviceOpticalFlowPropertiesNV
impl UnsafeUnpin for PhysicalDeviceOpticalFlowPropertiesNV
impl UnwindSafe for PhysicalDeviceOpticalFlowPropertiesNV
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