Struct vk_sys::InstancePointers[][src]

pub struct InstancePointers {
Show 53 fields pub DestroyInstance: extern "system" fn(_: Instance, _: *const AllocationCallbacks), pub GetDeviceProcAddr: extern "system" fn(_: Device, _: *const c_char) -> PFN_vkVoidFunction, pub EnumeratePhysicalDevices: extern "system" fn(_: Instance, _: *mut u32, _: *mut PhysicalDevice) -> Result, pub EnumerateDeviceExtensionProperties: extern "system" fn(_: PhysicalDevice, _: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> Result, pub EnumerateDeviceLayerProperties: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut LayerProperties) -> Result, pub CreateDevice: extern "system" fn(_: PhysicalDevice, _: *const DeviceCreateInfo, _: *const AllocationCallbacks, _: *mut Device) -> Result, pub GetPhysicalDeviceFeatures: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceFeatures), pub GetPhysicalDeviceFormatProperties: extern "system" fn(_: PhysicalDevice, _: Format, _: *mut FormatProperties), pub GetPhysicalDeviceImageFormatProperties: extern "system" fn(_: PhysicalDevice, _: Format, _: ImageType, _: ImageTiling, _: ImageUsageFlags, _: ImageCreateFlags, _: *mut ImageFormatProperties) -> Result, pub GetPhysicalDeviceProperties: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceProperties), pub GetPhysicalDeviceQueueFamilyProperties: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut QueueFamilyProperties), pub GetPhysicalDeviceMemoryProperties: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceMemoryProperties), pub GetPhysicalDeviceSparseImageFormatProperties: extern "system" fn(_: PhysicalDevice, _: Format, _: ImageType, _: SampleCountFlagBits, _: ImageUsageFlags, _: ImageTiling, _: *mut u32, _: *mut SparseImageFormatProperties), pub DestroySurfaceKHR: extern "system" fn(_: Instance, _: SurfaceKHR, _: *const AllocationCallbacks), pub CreateXlibSurfaceKHR: extern "system" fn(_: Instance, _: *const XlibSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub GetPhysicalDeviceXlibPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void, _: u32) -> Bool32, pub CreateXcbSurfaceKHR: extern "system" fn(_: Instance, _: *const XcbSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub GetPhysicalDeviceXcbPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void, _: u32) -> Bool32, pub CreateWaylandSurfaceKHR: extern "system" fn(_: Instance, _: *const WaylandSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub GetPhysicalDeviceWaylandPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void) -> Bool32, pub CreateAndroidSurfaceKHR: extern "system" fn(_: Instance, _: *const AndroidSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub CreateWin32SurfaceKHR: extern "system" fn(_: Instance, _: *const Win32SurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub GetPhysicalDeviceWin32PresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32) -> Bool32, pub GetPhysicalDeviceDisplayPropertiesKHR: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut DisplayPropertiesKHR) -> Result, pub GetPhysicalDeviceDisplayPlanePropertiesKHR: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut DisplayPlanePropertiesKHR) -> Result, pub GetDisplayPlaneSupportedDisplaysKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut u32, _: *mut DisplayKHR) -> Result, pub GetDisplayModePropertiesKHR: extern "system" fn(_: PhysicalDevice, _: DisplayKHR, _: *mut u32, _: *mut DisplayModePropertiesKHR) -> Result, pub CreateDisplayModeKHR: extern "system" fn(_: PhysicalDevice, _: DisplayKHR, _: *const DisplayModeCreateInfoKHR, _: *const AllocationCallbacks, _: *mut DisplayModeKHR) -> Result, pub GetDisplayPlaneCapabilitiesKHR: extern "system" fn(_: PhysicalDevice, _: DisplayModeKHR, _: u32, _: *mut DisplayPlaneCapabilitiesKHR) -> Result, pub CreateDisplayPlaneSurfaceKHR: extern "system" fn(_: Instance, _: *const DisplaySurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub GetPhysicalDeviceSurfaceSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: SurfaceKHR, _: *mut Bool32) -> Result, pub GetPhysicalDeviceSurfaceCapabilitiesKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut SurfaceCapabilitiesKHR) -> Result, pub GetPhysicalDeviceSurfaceFormatsKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut u32, _: *mut SurfaceFormatKHR) -> Result, pub GetPhysicalDeviceSurfacePresentModesKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut u32, _: *mut PresentModeKHR) -> Result, pub CreateDebugReportCallbackEXT: extern "system" fn(_: Instance, _: *const DebugReportCallbackCreateInfoEXT, _: *const AllocationCallbacks, _: *mut DebugReportCallbackEXT) -> Result, pub DestroyDebugReportCallbackEXT: extern "system" fn(_: Instance, _: DebugReportCallbackEXT, _: *const AllocationCallbacks), pub DebugReportMessageEXT: extern "system" fn(_: Instance, _: DebugReportFlagsEXT, _: DebugReportObjectTypeEXT, _: u64, _: usize, _: i32, _: *const c_char, _: *const c_char), pub CreateIOSSurfaceMVK: extern "system" fn(_: Instance, _: *const IOSSurfaceCreateInfoMVK, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub CreateMacOSSurfaceMVK: extern "system" fn(_: Instance, _: *const MacOSSurfaceCreateInfoMVK, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub ActivateMoltenVKLicenseMVK: extern "system" fn(_: *const c_char, _: *const c_char, _: Bool32) -> Result, pub ActivateMoltenVKLicensesMVK: extern "system" fn() -> Result, pub GetMoltenVKDeviceConfigurationMVK: extern "system" fn(_: Device, _: *mut MVKDeviceConfiguration) -> Result, pub SetMoltenVKDeviceConfigurationMVK: extern "system" fn(_: Device, _: *mut MVKDeviceConfiguration) -> Result, pub GetPhysicalDeviceMetalFeaturesMVK: extern "system" fn(_: PhysicalDevice, _: *mut MVKPhysicalDeviceMetalFeatures) -> Result, pub GetSwapchainPerformanceMVK: extern "system" fn(_: Device, _: SwapchainKHR, _: *mut MVKSwapchainPerformance) -> Result, pub CreateViSurfaceNN: extern "system" fn(_: Instance, _: *const ViSurfaceCreateInfoNN, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result, pub GetPhysicalDeviceFeatures2KHR: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceFeatures2KHR), pub GetPhysicalDeviceProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceProperties2KHR), pub GetPhysicalDeviceFormatProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *mut FormatProperties2KHR), pub GetPhysicalDeviceImageFormatProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *const PhysicalDeviceImageFormatInfo2KHR, _: *mut ImageFormatProperties2KHR) -> Result, pub GetPhysicalDeviceQueueFamilyProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut QueueFamilyProperties2KHR), pub GetPhysicalDeviceMemoryProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceMemoryProperties2KHR), pub GetPhysicalDeviceSparseImageFormatProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *const PhysicalDeviceSparseImageFormatInfo2KHR, _: *mut u32, _: *mut SparseImageFormatProperties2KHR),
}

Fields

DestroyInstance: extern "system" fn(_: Instance, _: *const AllocationCallbacks)GetDeviceProcAddr: extern "system" fn(_: Device, _: *const c_char) -> PFN_vkVoidFunctionEnumeratePhysicalDevices: extern "system" fn(_: Instance, _: *mut u32, _: *mut PhysicalDevice) -> ResultEnumerateDeviceExtensionProperties: extern "system" fn(_: PhysicalDevice, _: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> ResultEnumerateDeviceLayerProperties: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut LayerProperties) -> ResultCreateDevice: extern "system" fn(_: PhysicalDevice, _: *const DeviceCreateInfo, _: *const AllocationCallbacks, _: *mut Device) -> ResultGetPhysicalDeviceFeatures: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceFeatures)GetPhysicalDeviceFormatProperties: extern "system" fn(_: PhysicalDevice, _: Format, _: *mut FormatProperties)GetPhysicalDeviceImageFormatProperties: extern "system" fn(_: PhysicalDevice, _: Format, _: ImageType, _: ImageTiling, _: ImageUsageFlags, _: ImageCreateFlags, _: *mut ImageFormatProperties) -> ResultGetPhysicalDeviceProperties: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceProperties)GetPhysicalDeviceQueueFamilyProperties: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut QueueFamilyProperties)GetPhysicalDeviceMemoryProperties: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceMemoryProperties)GetPhysicalDeviceSparseImageFormatProperties: extern "system" fn(_: PhysicalDevice, _: Format, _: ImageType, _: SampleCountFlagBits, _: ImageUsageFlags, _: ImageTiling, _: *mut u32, _: *mut SparseImageFormatProperties)DestroySurfaceKHR: extern "system" fn(_: Instance, _: SurfaceKHR, _: *const AllocationCallbacks)CreateXlibSurfaceKHR: extern "system" fn(_: Instance, _: *const XlibSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultGetPhysicalDeviceXlibPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void, _: u32) -> Bool32CreateXcbSurfaceKHR: extern "system" fn(_: Instance, _: *const XcbSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultGetPhysicalDeviceXcbPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void, _: u32) -> Bool32CreateWaylandSurfaceKHR: extern "system" fn(_: Instance, _: *const WaylandSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultGetPhysicalDeviceWaylandPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void) -> Bool32CreateAndroidSurfaceKHR: extern "system" fn(_: Instance, _: *const AndroidSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultCreateWin32SurfaceKHR: extern "system" fn(_: Instance, _: *const Win32SurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultGetPhysicalDeviceWin32PresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32) -> Bool32GetPhysicalDeviceDisplayPropertiesKHR: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut DisplayPropertiesKHR) -> ResultGetPhysicalDeviceDisplayPlanePropertiesKHR: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut DisplayPlanePropertiesKHR) -> ResultGetDisplayPlaneSupportedDisplaysKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut u32, _: *mut DisplayKHR) -> ResultGetDisplayModePropertiesKHR: extern "system" fn(_: PhysicalDevice, _: DisplayKHR, _: *mut u32, _: *mut DisplayModePropertiesKHR) -> ResultCreateDisplayModeKHR: extern "system" fn(_: PhysicalDevice, _: DisplayKHR, _: *const DisplayModeCreateInfoKHR, _: *const AllocationCallbacks, _: *mut DisplayModeKHR) -> ResultGetDisplayPlaneCapabilitiesKHR: extern "system" fn(_: PhysicalDevice, _: DisplayModeKHR, _: u32, _: *mut DisplayPlaneCapabilitiesKHR) -> ResultCreateDisplayPlaneSurfaceKHR: extern "system" fn(_: Instance, _: *const DisplaySurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultGetPhysicalDeviceSurfaceSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: SurfaceKHR, _: *mut Bool32) -> ResultGetPhysicalDeviceSurfaceCapabilitiesKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut SurfaceCapabilitiesKHR) -> ResultGetPhysicalDeviceSurfaceFormatsKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut u32, _: *mut SurfaceFormatKHR) -> ResultGetPhysicalDeviceSurfacePresentModesKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut u32, _: *mut PresentModeKHR) -> ResultCreateDebugReportCallbackEXT: extern "system" fn(_: Instance, _: *const DebugReportCallbackCreateInfoEXT, _: *const AllocationCallbacks, _: *mut DebugReportCallbackEXT) -> ResultDestroyDebugReportCallbackEXT: extern "system" fn(_: Instance, _: DebugReportCallbackEXT, _: *const AllocationCallbacks)DebugReportMessageEXT: extern "system" fn(_: Instance, _: DebugReportFlagsEXT, _: DebugReportObjectTypeEXT, _: u64, _: usize, _: i32, _: *const c_char, _: *const c_char)CreateIOSSurfaceMVK: extern "system" fn(_: Instance, _: *const IOSSurfaceCreateInfoMVK, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultCreateMacOSSurfaceMVK: extern "system" fn(_: Instance, _: *const MacOSSurfaceCreateInfoMVK, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultActivateMoltenVKLicenseMVK: extern "system" fn(_: *const c_char, _: *const c_char, _: Bool32) -> ResultActivateMoltenVKLicensesMVK: extern "system" fn() -> ResultGetMoltenVKDeviceConfigurationMVK: extern "system" fn(_: Device, _: *mut MVKDeviceConfiguration) -> ResultSetMoltenVKDeviceConfigurationMVK: extern "system" fn(_: Device, _: *mut MVKDeviceConfiguration) -> ResultGetPhysicalDeviceMetalFeaturesMVK: extern "system" fn(_: PhysicalDevice, _: *mut MVKPhysicalDeviceMetalFeatures) -> ResultGetSwapchainPerformanceMVK: extern "system" fn(_: Device, _: SwapchainKHR, _: *mut MVKSwapchainPerformance) -> ResultCreateViSurfaceNN: extern "system" fn(_: Instance, _: *const ViSurfaceCreateInfoNN, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> ResultGetPhysicalDeviceFeatures2KHR: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceFeatures2KHR)GetPhysicalDeviceProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceProperties2KHR)GetPhysicalDeviceFormatProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *mut FormatProperties2KHR)GetPhysicalDeviceImageFormatProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *const PhysicalDeviceImageFormatInfo2KHR, _: *mut ImageFormatProperties2KHR) -> ResultGetPhysicalDeviceQueueFamilyProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut QueueFamilyProperties2KHR)GetPhysicalDeviceMemoryProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *mut PhysicalDeviceMemoryProperties2KHR)GetPhysicalDeviceSparseImageFormatProperties2KHR: extern "system" fn(_: PhysicalDevice, _: *const PhysicalDeviceSparseImageFormatInfo2KHR, _: *mut u32, _: *mut SparseImageFormatProperties2KHR)

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.