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_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORYVK_ERROR_INITIALIZATION_FAILEDVK_ERROR_EXTENSION_NOT_PRESENTVK_ERROR_FEATURE_NOT_PRESENTVK_ERROR_TOO_MANY_OBJECTSVK_ERROR_DEVICE_LOSTVK_ERROR_UNKNOWNVK_ERROR_VALIDATION_FAILED
Aliased Type§
pub enum PFN_vkCreateDevice {
None,
Some(unsafe extern "system" fn(PhysicalDevice, *const DeviceCreateInfo, *const AllocationCallbacks, *mut Device) -> Result),
}Variants§
None
No value.
Some(unsafe extern "system" fn(PhysicalDevice, *const DeviceCreateInfo, *const AllocationCallbacks, *mut Device) -> Result)
Some value of type T.