Struct vk_sys::InstancePointers [] [src]

pub struct InstancePointers {
    // some fields omitted
}

Methods

impl InstancePointers
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

unsafe fn CreateDebugReportCallbackEXT(&self, instance: Instance, pCreateInfo: *const DebugReportCallbackCreateInfoEXT, pAllocator: *const AllocationCallbacks, pCallback: *mut DebugReportCallbackEXT) -> Result

unsafe fn DestroyDebugReportCallbackEXT(&self, instance: Instance, callback: DebugReportCallbackEXT, pAllocator: *const AllocationCallbacks)

unsafe fn DebugReportMessageEXT(&self, instance: Instance, flags: DebugReportFlagsEXT, objectType: DebugReportObjectTypeEXT, object: u64, location: usize, messageCode: i32, pLayerPrefix: *const c_char, pMessage: *const c_char)

Trait Implementations

impl Debug for InstancePointers
[src]

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

Formats the value using the given formatter.

impl Send for InstancePointers
[src]

impl Sync for InstancePointers
[src]