Skip to main content

PFN_vkCreateFence

Type Alias PFN_vkCreateFence 

Source
pub type PFN_vkCreateFence = Option<unsafe extern "system" fn(device: Device, p_create_info: *const FenceCreateInfo, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence) -> Result>;
Expand description

vkCreateFence Provided by VK_BASE_VERSION_1_0.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateFence {
    None,
    Some(unsafe extern "system" fn(Device, *const FenceCreateInfo, *const AllocationCallbacks, *mut Fence) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.