Skip to main content

PFN_vkCreateDevice

Type Alias PFN_vkCreateDevice 

Source
pub type PFN_vkCreateDevice = Option<unsafe extern "system" fn(physical_device: PhysicalDevice, p_create_info: *const DeviceCreateInfo, p_allocator: *const AllocationCallbacks, p_device: *mut Device) -> Result>;
Expand description

vkCreateDevice 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_INITIALIZATION_FAILED
  • VK_ERROR_EXTENSION_NOT_PRESENT
  • VK_ERROR_FEATURE_NOT_PRESENT
  • VK_ERROR_TOO_MANY_OBJECTS
  • VK_ERROR_DEVICE_LOST
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateDevice {
    None,
    Some(unsafe extern "system" fn(PhysicalDevice, *const DeviceCreateInfo, *const AllocationCallbacks, *mut Device) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.