Skip to main content

PFN_vkCreateVideoSessionKHR

Type Alias PFN_vkCreateVideoSessionKHR 

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

Nullable function pointer for vkCreateVideoSessionKHR.

Khronos reference: vkCreateVideoSessionKHR

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(DeviceHandle, *const VideoSessionCreateInfoKHR<'_>, *const AllocationCallbacks, *mut VideoSessionKHR) -> Result)

Some value of type T.