Enum
VkOpticalFlowPerformanceLevelNV
Optical flow performance level types
Optical flow exposes performance levels which the application can choose based on the desired performance and quality requirement.
The optical flow performance level types are defined with the following:
typedef enum VkOpticalFlowPerformanceLevelNV {
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_UNKNOWN_NV = 0,
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_SLOW_NV = 1,
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_MEDIUM_NV = 2,
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_FAST_NV = 3,
} VkOpticalFlowPerformanceLevelNV;
pub struct OpticalFlowPerformanceLevelNV(u32);
impl OpticalFlowPerformanceLevelNV {
pub const UNKNOWN: Self = 0;
pub const SLOW: Self = 1;
pub const MEDIUM: Self = 2;
pub const FAST: Self = 3;
}
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_SLOW_NVis a level with slower performance but higher quality.VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_MEDIUM_NVis a level with medium performance and medium quality.VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_FAST_NVis a preset with higher performance but lower quality.
Parent
VK_NV_optical_flowType
Enum