vk_sys

Struct InstancePointers

Source
pub struct InstancePointers {
Show 52 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 CreateDebugUtilsMessengerEXT: extern "system" fn(_: Instance, _: *const DebugUtilsMessengerCreateInfoEXT, _: *const AllocationCallbacks, _: *const DebugUtilsMessengerEXT) -> Result, pub DestroyDebugUtilsMessengerEXT: extern "system" fn(_: Instance, _: DebugUtilsMessengerEXT, _: *const AllocationCallbacks) -> Result, 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_vkVoidFunction§EnumeratePhysicalDevices: extern "system" fn(_: Instance, _: *mut u32, _: *mut PhysicalDevice) -> Result§EnumerateDeviceExtensionProperties: extern "system" fn(_: PhysicalDevice, _: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> Result§EnumerateDeviceLayerProperties: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut LayerProperties) -> Result§CreateDevice: extern "system" fn(_: PhysicalDevice, _: *const DeviceCreateInfo, _: *const AllocationCallbacks, _: *mut Device) -> Result§GetPhysicalDeviceFeatures: 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) -> Result§GetPhysicalDeviceProperties: 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) -> Result§GetPhysicalDeviceXlibPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void, _: u32) -> Bool32§CreateXcbSurfaceKHR: extern "system" fn(_: Instance, _: *const XcbSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result§GetPhysicalDeviceXcbPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void, _: u32) -> Bool32§CreateWaylandSurfaceKHR: extern "system" fn(_: Instance, _: *const WaylandSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result§GetPhysicalDeviceWaylandPresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut c_void) -> Bool32§CreateAndroidSurfaceKHR: extern "system" fn(_: Instance, _: *const AndroidSurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result§CreateWin32SurfaceKHR: extern "system" fn(_: Instance, _: *const Win32SurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result§GetPhysicalDeviceWin32PresentationSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32) -> Bool32§GetPhysicalDeviceDisplayPropertiesKHR: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut DisplayPropertiesKHR) -> Result§GetPhysicalDeviceDisplayPlanePropertiesKHR: extern "system" fn(_: PhysicalDevice, _: *mut u32, _: *mut DisplayPlanePropertiesKHR) -> Result§GetDisplayPlaneSupportedDisplaysKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: *mut u32, _: *mut DisplayKHR) -> Result§GetDisplayModePropertiesKHR: extern "system" fn(_: PhysicalDevice, _: DisplayKHR, _: *mut u32, _: *mut DisplayModePropertiesKHR) -> Result§CreateDisplayModeKHR: extern "system" fn(_: PhysicalDevice, _: DisplayKHR, _: *const DisplayModeCreateInfoKHR, _: *const AllocationCallbacks, _: *mut DisplayModeKHR) -> Result§GetDisplayPlaneCapabilitiesKHR: extern "system" fn(_: PhysicalDevice, _: DisplayModeKHR, _: u32, _: *mut DisplayPlaneCapabilitiesKHR) -> Result§CreateDisplayPlaneSurfaceKHR: extern "system" fn(_: Instance, _: *const DisplaySurfaceCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result§GetPhysicalDeviceSurfaceSupportKHR: extern "system" fn(_: PhysicalDevice, _: u32, _: SurfaceKHR, _: *mut Bool32) -> Result§GetPhysicalDeviceSurfaceCapabilitiesKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut SurfaceCapabilitiesKHR) -> Result§GetPhysicalDeviceSurfaceFormatsKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut u32, _: *mut SurfaceFormatKHR) -> Result§GetPhysicalDeviceSurfacePresentModesKHR: extern "system" fn(_: PhysicalDevice, _: SurfaceKHR, _: *mut u32, _: *mut PresentModeKHR) -> Result§CreateDebugUtilsMessengerEXT: extern "system" fn(_: Instance, _: *const DebugUtilsMessengerCreateInfoEXT, _: *const AllocationCallbacks, _: *const DebugUtilsMessengerEXT) -> Result§DestroyDebugUtilsMessengerEXT: extern "system" fn(_: Instance, _: DebugUtilsMessengerEXT, _: *const AllocationCallbacks) -> Result§CreateIOSSurfaceMVK: extern "system" fn(_: Instance, _: *const IOSSurfaceCreateInfoMVK, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result§CreateMacOSSurfaceMVK: extern "system" fn(_: Instance, _: *const MacOSSurfaceCreateInfoMVK, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result§ActivateMoltenVKLicenseMVK: extern "system" fn(_: *const c_char, _: *const c_char, _: Bool32) -> Result§ActivateMoltenVKLicensesMVK: extern "system" fn() -> Result§GetMoltenVKDeviceConfigurationMVK: extern "system" fn(_: Device, _: *mut MVKDeviceConfiguration) -> Result§SetMoltenVKDeviceConfigurationMVK: extern "system" fn(_: Device, _: *mut MVKDeviceConfiguration) -> Result§GetPhysicalDeviceMetalFeaturesMVK: extern "system" fn(_: PhysicalDevice, _: *mut MVKPhysicalDeviceMetalFeatures) -> Result§GetSwapchainPerformanceMVK: extern "system" fn(_: Device, _: SwapchainKHR, _: *mut MVKSwapchainPerformance) -> Result§CreateViSurfaceNN: extern "system" fn(_: Instance, _: *const ViSurfaceCreateInfoNN, _: *const AllocationCallbacks, _: *mut SurfaceKHR) -> Result§GetPhysicalDeviceFeatures2KHR: 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) -> Result§GetPhysicalDeviceQueueFamilyProperties2KHR: 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§

Source§

impl InstancePointers

Source

pub fn load<F>(f: F) -> InstancePointers
where F: FnMut(&CStr) -> *const c_void,

Source

pub unsafe fn DestroyInstance( &self, instance: Instance, pAllocator: *const AllocationCallbacks, )

Source

pub unsafe fn GetDeviceProcAddr( &self, device: Device, pName: *const c_char, ) -> PFN_vkVoidFunction

Source

pub unsafe fn EnumeratePhysicalDevices( &self, instance: Instance, pPhysicalDeviceCount: *mut u32, pPhysicalDevices: *mut PhysicalDevice, ) -> Result

Source

pub unsafe fn EnumerateDeviceExtensionProperties( &self, physicalDevice: PhysicalDevice, pLayerName: *const c_char, pPropertyCount: *mut u32, pProperties: *mut ExtensionProperties, ) -> Result

Source

pub unsafe fn EnumerateDeviceLayerProperties( &self, physicalDevice: PhysicalDevice, pPropertyCount: *mut u32, pProperties: *mut LayerProperties, ) -> Result

Source

pub unsafe fn CreateDevice( &self, physicalDevice: PhysicalDevice, pCreateInfo: *const DeviceCreateInfo, pAllocator: *const AllocationCallbacks, pDevice: *mut Device, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceFeatures( &self, physicalDevice: PhysicalDevice, pFeatures: *mut PhysicalDeviceFeatures, )

Source

pub unsafe fn GetPhysicalDeviceFormatProperties( &self, physicalDevice: PhysicalDevice, format: Format, pFormatProperties: *mut FormatProperties, )

Source

pub unsafe fn GetPhysicalDeviceImageFormatProperties( &self, physicalDevice: PhysicalDevice, format: Format, ty: ImageType, tiling: ImageTiling, usage: ImageUsageFlags, flags: ImageCreateFlags, pImageFormatProperties: *mut ImageFormatProperties, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceProperties( &self, physicalDevice: PhysicalDevice, pProperties: *mut PhysicalDeviceProperties, )

Source

pub unsafe fn GetPhysicalDeviceQueueFamilyProperties( &self, physicalDevice: PhysicalDevice, pQueueFamilyPropertyCount: *mut u32, pQueueFamilyProperties: *mut QueueFamilyProperties, )

Source

pub unsafe fn GetPhysicalDeviceMemoryProperties( &self, physicalDevice: PhysicalDevice, pMemoryProperties: *mut PhysicalDeviceMemoryProperties, )

Source

pub unsafe fn GetPhysicalDeviceSparseImageFormatProperties( &self, physicalDevice: PhysicalDevice, format: Format, ty: ImageType, samples: SampleCountFlagBits, usage: ImageUsageFlags, tiling: ImageTiling, pPropertyCount: *mut u32, pProperties: *mut SparseImageFormatProperties, )

Source

pub unsafe fn DestroySurfaceKHR( &self, instance: Instance, surface: SurfaceKHR, pAllocator: *const AllocationCallbacks, )

Source

pub unsafe fn CreateXlibSurfaceKHR( &self, instance: Instance, pCreateInfo: *const XlibSurfaceCreateInfoKHR, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceXlibPresentationSupportKHR( &self, physicalDevice: PhysicalDevice, queueFamilyIndex: u32, dpy: *mut c_void, visualID: u32, ) -> Bool32

Source

pub unsafe fn CreateXcbSurfaceKHR( &self, instance: Instance, pCreateInfo: *const XcbSurfaceCreateInfoKHR, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceXcbPresentationSupportKHR( &self, physicalDevice: PhysicalDevice, queueFamilyIndex: u32, connection: *mut c_void, visual_id: u32, ) -> Bool32

Source

pub unsafe fn CreateWaylandSurfaceKHR( &self, instance: Instance, pCreateInfo: *const WaylandSurfaceCreateInfoKHR, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceWaylandPresentationSupportKHR( &self, physicalDevice: PhysicalDevice, queueFamilyIndex: u32, display: *mut c_void, ) -> Bool32

Source

pub unsafe fn CreateAndroidSurfaceKHR( &self, instance: Instance, pCreateInfo: *const AndroidSurfaceCreateInfoKHR, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn CreateWin32SurfaceKHR( &self, instance: Instance, pCreateInfo: *const Win32SurfaceCreateInfoKHR, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceWin32PresentationSupportKHR( &self, physicalDevice: PhysicalDevice, queueFamilyIndex: u32, ) -> Bool32

Source

pub unsafe fn GetPhysicalDeviceDisplayPropertiesKHR( &self, physicalDevice: PhysicalDevice, pPropertyCount: *mut u32, pProperties: *mut DisplayPropertiesKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceDisplayPlanePropertiesKHR( &self, physicalDevice: PhysicalDevice, pPropertyCount: *mut u32, pProperties: *mut DisplayPlanePropertiesKHR, ) -> Result

Source

pub unsafe fn GetDisplayPlaneSupportedDisplaysKHR( &self, physicalDevice: PhysicalDevice, planeIndex: u32, pDisplayCount: *mut u32, pDisplays: *mut DisplayKHR, ) -> Result

Source

pub unsafe fn GetDisplayModePropertiesKHR( &self, physicalDevice: PhysicalDevice, display: DisplayKHR, pPropertyCount: *mut u32, pProperties: *mut DisplayModePropertiesKHR, ) -> Result

Source

pub unsafe fn CreateDisplayModeKHR( &self, physicalDevice: PhysicalDevice, display: DisplayKHR, pCreateInfo: *const DisplayModeCreateInfoKHR, pAllocator: *const AllocationCallbacks, pMode: *mut DisplayModeKHR, ) -> Result

Source

pub unsafe fn GetDisplayPlaneCapabilitiesKHR( &self, physicalDevice: PhysicalDevice, mode: DisplayModeKHR, planeIndex: u32, pCapabilities: *mut DisplayPlaneCapabilitiesKHR, ) -> Result

Source

pub unsafe fn CreateDisplayPlaneSurfaceKHR( &self, instance: Instance, pCreateInfo: *const DisplaySurfaceCreateInfoKHR, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceSurfaceSupportKHR( &self, physicalDevice: PhysicalDevice, queueFamilyIndex: u32, surface: SurfaceKHR, pSupported: *mut Bool32, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceSurfaceCapabilitiesKHR( &self, physicalDevice: PhysicalDevice, surface: SurfaceKHR, pSurfaceCapabilities: *mut SurfaceCapabilitiesKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceSurfaceFormatsKHR( &self, physicalDevice: PhysicalDevice, surface: SurfaceKHR, pSurfaceFormatCount: *mut u32, pSurfaceFormats: *mut SurfaceFormatKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceSurfacePresentModesKHR( &self, physicalDevice: PhysicalDevice, surface: SurfaceKHR, pPresentModeCount: *mut u32, pPresentModes: *mut PresentModeKHR, ) -> Result

Source

pub unsafe fn CreateDebugUtilsMessengerEXT( &self, instance: Instance, pCreateInfo: *const DebugUtilsMessengerCreateInfoEXT, pAllocator: *const AllocationCallbacks, pMessenger: *const DebugUtilsMessengerEXT, ) -> Result

Source

pub unsafe fn DestroyDebugUtilsMessengerEXT( &self, instance: Instance, messenger: DebugUtilsMessengerEXT, pAllocator: *const AllocationCallbacks, ) -> Result

Source

pub unsafe fn CreateIOSSurfaceMVK( &self, instance: Instance, pCreateInfo: *const IOSSurfaceCreateInfoMVK, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn CreateMacOSSurfaceMVK( &self, instance: Instance, pCreateInfo: *const MacOSSurfaceCreateInfoMVK, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn ActivateMoltenVKLicenseMVK( &self, licenseID: *const c_char, licenseKey: *const c_char, acceptLicenseTermsAndConditions: Bool32, ) -> Result

Source

pub unsafe fn ActivateMoltenVKLicensesMVK(&self) -> Result

Source

pub unsafe fn GetMoltenVKDeviceConfigurationMVK( &self, device: Device, pConfiguration: *mut MVKDeviceConfiguration, ) -> Result

Source

pub unsafe fn SetMoltenVKDeviceConfigurationMVK( &self, device: Device, pConfiguration: *mut MVKDeviceConfiguration, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceMetalFeaturesMVK( &self, physicalDevice: PhysicalDevice, pMetalFeatures: *mut MVKPhysicalDeviceMetalFeatures, ) -> Result

Source

pub unsafe fn GetSwapchainPerformanceMVK( &self, device: Device, swapchain: SwapchainKHR, pSwapchainPerf: *mut MVKSwapchainPerformance, ) -> Result

Source

pub unsafe fn CreateViSurfaceNN( &self, instance: Instance, pCreateInfo: *const ViSurfaceCreateInfoNN, pAllocator: *const AllocationCallbacks, pSurface: *mut SurfaceKHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceFeatures2KHR( &self, physicalDevice: PhysicalDevice, pFeatures: *mut PhysicalDeviceFeatures2KHR, )

Source

pub unsafe fn GetPhysicalDeviceProperties2KHR( &self, physicalDevice: PhysicalDevice, pProperties: *mut PhysicalDeviceProperties2KHR, )

Source

pub unsafe fn GetPhysicalDeviceFormatProperties2KHR( &self, physicalDevice: PhysicalDevice, pFormatProperties: *mut FormatProperties2KHR, )

Source

pub unsafe fn GetPhysicalDeviceImageFormatProperties2KHR( &self, physicalDevice: PhysicalDevice, pImageFormatInfo: *const PhysicalDeviceImageFormatInfo2KHR, pImageFormatProperties: *mut ImageFormatProperties2KHR, ) -> Result

Source

pub unsafe fn GetPhysicalDeviceQueueFamilyProperties2KHR( &self, physicalDevice: PhysicalDevice, pQueueFamilyPropertiesCount: *mut u32, pQueueFamilyProperties: *mut QueueFamilyProperties2KHR, )

Source

pub unsafe fn GetPhysicalDeviceMemoryProperties2KHR( &self, physicalDevice: PhysicalDevice, pMemoryProperties: *mut PhysicalDeviceMemoryProperties2KHR, )

Source

pub unsafe fn GetPhysicalDeviceSparseImageFormatProperties2KHR( &self, physicalDevice: PhysicalDevice, pFormatInfo: *const PhysicalDeviceSparseImageFormatInfo2KHR, pPropertyCount: *mut u32, pProperties: *mut SparseImageFormatProperties2KHR, )

Trait Implementations§

Source§

impl Debug for InstancePointers

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Send for InstancePointers

Source§

impl Sync for InstancePointers

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.