Skip to main content

PFN_vkCreateVideoSessionParametersKHR

Type Alias PFN_vkCreateVideoSessionParametersKHR 

Source
pub type PFN_vkCreateVideoSessionParametersKHR = Option<unsafe extern "system" fn(device: Device, p_create_info: *const VideoSessionParametersCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_video_session_parameters: *mut VideoSessionParametersKHR) -> Result>;
Expand description

vkCreateVideoSessionParametersKHR 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_INVALID_VIDEO_STD_PARAMETERS_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateVideoSessionParametersKHR {
    None,
    Some(unsafe extern "system" fn(Device, *const VideoSessionParametersCreateInfoKHR, *const AllocationCallbacks, *mut VideoSessionParametersKHR) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.