pub type PFN_vkCreateDisplayModeKHR = Option<unsafe extern "system" fn(physical_device: PhysicalDevice, display: DisplayKHR, p_create_info: *const DisplayModeCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_mode: *mut DisplayModeKHR) -> Result>;Expand description
vkCreateDisplayModeKHR
Provided by VK_KHR_display.
§Success Codes
VK_SUCCESS
§Error Codes
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_OUT_OF_DEVICE_MEMORYVK_ERROR_INITIALIZATION_FAILEDVK_ERROR_UNKNOWNVK_ERROR_VALIDATION_FAILED
§Thread Safety
displaymust be externally synchronized
Aliased Type§
pub enum PFN_vkCreateDisplayModeKHR {
None,
Some(unsafe extern "system" fn(PhysicalDevice, DisplayKHR, *const DisplayModeCreateInfoKHR, *const AllocationCallbacks, *mut DisplayModeKHR) -> Result),
}Variants§
None
No value.
Some(unsafe extern "system" fn(PhysicalDevice, DisplayKHR, *const DisplayModeCreateInfoKHR, *const AllocationCallbacks, *mut DisplayModeKHR) -> Result)
Some value of type T.