Skip to main content

PFN_vkCreateVideoSessionKHR

Type Alias PFN_vkCreateVideoSessionKHR 

Source
pub type PFN_vkCreateVideoSessionKHR = Option<unsafe extern "system" fn(device: Device, p_create_info: *const VideoSessionCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_video_session: *mut VideoSessionKHR) -> Result>;
Expand description

vkCreateVideoSessionKHR Provided by VK_KHR_video_queue.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_INITIALIZATION_FAILED
  • VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR
  • VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateVideoSessionKHR {
    None,
    Some(unsafe extern "system" fn(Device, *const VideoSessionCreateInfoKHR, *const AllocationCallbacks, *mut VideoSessionKHR) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, *const VideoSessionCreateInfoKHR, *const AllocationCallbacks, *mut VideoSessionKHR) -> Result)

Some value of type T.