[−][src]Trait nobs_vk::InstanceWrapper
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
Trait with default pass-through implementations for vulkan commands associated with an instance
ATTENTION - This trait might be changed or removed in the future
Details
This trait only requires the implementation of get_extensions.
Instance level vulkan commands are then passed through to their respective core or instance extension function pointer.
If the vulkan command required an Instance
parameter, the wrapper will drop this parameter, since the
instance handle can be provided by the InstanceExtensions.
Examples
#[macro_use] extern crate nobs_vk as vk; use vk::InstanceWrapper; use std::ptr; // Simple instance to only hold the vulkan core lib and instance extensions. struct MyInstance { vklib: std::boxed::Box<vk::Core>, extensions: vk::InstanceExtensions, } impl MyInstance { // We can provide a convenient constructor. pub fn new() -> MyInstance { let vklib = vk::Core::new(); // create an instance let appinfo = vk::InstanceCreateInfo { sType: vk::STRUCTURE_TYPE_INSTANCE_CREATE_INFO, pNext: ptr::null(), flags: 0, pApplicationInfo: ptr::null(), enabledLayerCount: 0, ppEnabledLayerNames: ptr::null(), enabledExtensionCount: 0, ppEnabledExtensionNames: ptr::null(), }; let mut inst = vk::NULL_HANDLE; vk::CreateInstance(&appinfo, ptr::null(), &mut inst); // carefull, here we should do error checking... let extensions = vk::InstanceExtensions::new(inst); MyInstance { vklib, extensions } } } // Implement the wrapper trait, so that we can call vulkan commands as member functions impl vk::InstanceWrapper for MyInstance { fn get_extensions(&self) -> &vk::InstanceExtensions { &self.extensions } } // Implement the drop trait to clean up our instance impl Drop for MyInstance { fn drop(&mut self) { vk::DestroyInstance(self.get_extensions().get_handle(), ptr::null()); } } //... // Create our custom instance let inst = MyInstance::new(); // Now we can use instance level vulkan commands directly on our instance // Note that we do not need to provide the instance handle to EnumeratePhysicalDevices, // because the InstanceWrapper takes care of that let mut num_devices: u32 = 0; inst.EnumeratePhysicalDevices(&mut num_devices, ptr::null_mut()); println!("num devices: {}", num_devices);
Required methods
fn get_extensions(&self) -> &InstanceExtensions
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
Provided methods
fn get_handle(&self) -> Instance
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn EnumeratePhysicalDevices(
&self,
pPhysicalDeviceCount: *mut u32,
pPhysicalDevices: *mut PhysicalDevice
) -> Result
&self,
pPhysicalDeviceCount: *mut u32,
pPhysicalDevices: *mut PhysicalDevice
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceFeatures(
&self,
physicalDevice: PhysicalDevice,
pFeatures: *mut PhysicalDeviceFeatures
)
&self,
physicalDevice: PhysicalDevice,
pFeatures: *mut PhysicalDeviceFeatures
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceFormatProperties(
&self,
physicalDevice: PhysicalDevice,
format: Format,
pFormatProperties: *mut FormatProperties
)
&self,
physicalDevice: PhysicalDevice,
format: Format,
pFormatProperties: *mut FormatProperties
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceImageFormatProperties(
&self,
physicalDevice: PhysicalDevice,
format: Format,
typ: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
pImageFormatProperties: *mut ImageFormatProperties
) -> Result
&self,
physicalDevice: PhysicalDevice,
format: Format,
typ: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
pImageFormatProperties: *mut ImageFormatProperties
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceProperties(
&self,
physicalDevice: PhysicalDevice,
pProperties: *mut PhysicalDeviceProperties
)
&self,
physicalDevice: PhysicalDevice,
pProperties: *mut PhysicalDeviceProperties
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceQueueFamilyProperties(
&self,
physicalDevice: PhysicalDevice,
pQueueFamilyPropertyCount: *mut u32,
pQueueFamilyProperties: *mut QueueFamilyProperties
)
&self,
physicalDevice: PhysicalDevice,
pQueueFamilyPropertyCount: *mut u32,
pQueueFamilyProperties: *mut QueueFamilyProperties
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceMemoryProperties(
&self,
physicalDevice: PhysicalDevice,
pMemoryProperties: *mut PhysicalDeviceMemoryProperties
)
&self,
physicalDevice: PhysicalDevice,
pMemoryProperties: *mut PhysicalDeviceMemoryProperties
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn EnumerateInstanceExtensionProperties(
&self,
pLayerName: *const c_char,
pPropertyCount: *mut u32,
pProperties: *mut ExtensionProperties
) -> Result
&self,
pLayerName: *const c_char,
pPropertyCount: *mut u32,
pProperties: *mut ExtensionProperties
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn EnumerateDeviceExtensionProperties(
&self,
physicalDevice: PhysicalDevice,
pLayerName: *const c_char,
pPropertyCount: *mut u32,
pProperties: *mut ExtensionProperties
) -> Result
&self,
physicalDevice: PhysicalDevice,
pLayerName: *const c_char,
pPropertyCount: *mut u32,
pProperties: *mut ExtensionProperties
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn EnumerateInstanceLayerProperties(
&self,
pPropertyCount: *mut u32,
pProperties: *mut LayerProperties
) -> Result
&self,
pPropertyCount: *mut u32,
pProperties: *mut LayerProperties
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn EnumerateDeviceLayerProperties(
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut LayerProperties
) -> Result
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut LayerProperties
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSparseImageFormatProperties(
&self,
physicalDevice: PhysicalDevice,
format: Format,
typ: ImageType,
samples: SampleCountFlagBits,
usage: ImageUsageFlags,
tiling: ImageTiling,
pPropertyCount: *mut u32,
pProperties: *mut SparseImageFormatProperties
)
&self,
physicalDevice: PhysicalDevice,
format: Format,
typ: ImageType,
samples: SampleCountFlagBits,
usage: ImageUsageFlags,
tiling: ImageTiling,
pPropertyCount: *mut u32,
pProperties: *mut SparseImageFormatProperties
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn EnumerateInstanceVersion(&self, pApiVersion: *mut u32) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn EnumeratePhysicalDeviceGroups(
&self,
pPhysicalDeviceGroupCount: *mut u32,
pPhysicalDeviceGroupProperties: *mut PhysicalDeviceGroupProperties
) -> Result
&self,
pPhysicalDeviceGroupCount: *mut u32,
pPhysicalDeviceGroupProperties: *mut PhysicalDeviceGroupProperties
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceFeatures2(
&self,
physicalDevice: PhysicalDevice,
pFeatures: *mut PhysicalDeviceFeatures2
)
&self,
physicalDevice: PhysicalDevice,
pFeatures: *mut PhysicalDeviceFeatures2
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceProperties2(
&self,
physicalDevice: PhysicalDevice,
pProperties: *mut PhysicalDeviceProperties2
)
&self,
physicalDevice: PhysicalDevice,
pProperties: *mut PhysicalDeviceProperties2
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceFormatProperties2(
&self,
physicalDevice: PhysicalDevice,
format: Format,
pFormatProperties: *mut FormatProperties2
)
&self,
physicalDevice: PhysicalDevice,
format: Format,
pFormatProperties: *mut FormatProperties2
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceImageFormatProperties2(
&self,
physicalDevice: PhysicalDevice,
pImageFormatInfo: *const PhysicalDeviceImageFormatInfo2,
pImageFormatProperties: *mut ImageFormatProperties2
) -> Result
&self,
physicalDevice: PhysicalDevice,
pImageFormatInfo: *const PhysicalDeviceImageFormatInfo2,
pImageFormatProperties: *mut ImageFormatProperties2
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceQueueFamilyProperties2(
&self,
physicalDevice: PhysicalDevice,
pQueueFamilyPropertyCount: *mut u32,
pQueueFamilyProperties: *mut QueueFamilyProperties2
)
&self,
physicalDevice: PhysicalDevice,
pQueueFamilyPropertyCount: *mut u32,
pQueueFamilyProperties: *mut QueueFamilyProperties2
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceMemoryProperties2(
&self,
physicalDevice: PhysicalDevice,
pMemoryProperties: *mut PhysicalDeviceMemoryProperties2
)
&self,
physicalDevice: PhysicalDevice,
pMemoryProperties: *mut PhysicalDeviceMemoryProperties2
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSparseImageFormatProperties2(
&self,
physicalDevice: PhysicalDevice,
pFormatInfo: *const PhysicalDeviceSparseImageFormatInfo2,
pPropertyCount: *mut u32,
pProperties: *mut SparseImageFormatProperties2
)
&self,
physicalDevice: PhysicalDevice,
pFormatInfo: *const PhysicalDeviceSparseImageFormatInfo2,
pPropertyCount: *mut u32,
pProperties: *mut SparseImageFormatProperties2
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceExternalBufferProperties(
&self,
physicalDevice: PhysicalDevice,
pExternalBufferInfo: *const PhysicalDeviceExternalBufferInfo,
pExternalBufferProperties: *mut ExternalBufferProperties
)
&self,
physicalDevice: PhysicalDevice,
pExternalBufferInfo: *const PhysicalDeviceExternalBufferInfo,
pExternalBufferProperties: *mut ExternalBufferProperties
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceExternalFenceProperties(
&self,
physicalDevice: PhysicalDevice,
pExternalFenceInfo: *const PhysicalDeviceExternalFenceInfo,
pExternalFenceProperties: *mut ExternalFenceProperties
)
&self,
physicalDevice: PhysicalDevice,
pExternalFenceInfo: *const PhysicalDeviceExternalFenceInfo,
pExternalFenceProperties: *mut ExternalFenceProperties
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceExternalSemaphoreProperties(
&self,
physicalDevice: PhysicalDevice,
pExternalSemaphoreInfo: *const PhysicalDeviceExternalSemaphoreInfo,
pExternalSemaphoreProperties: *mut ExternalSemaphoreProperties
)
&self,
physicalDevice: PhysicalDevice,
pExternalSemaphoreInfo: *const PhysicalDeviceExternalSemaphoreInfo,
pExternalSemaphoreProperties: *mut ExternalSemaphoreProperties
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn DestroySurfaceKHR(
&self,
surface: SurfaceKHR,
pAllocator: *const AllocationCallbacks
)
&self,
surface: SurfaceKHR,
pAllocator: *const AllocationCallbacks
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSurfaceSupportKHR(
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32,
surface: SurfaceKHR,
pSupported: *mut Bool32
) -> Result
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32,
surface: SurfaceKHR,
pSupported: *mut Bool32
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSurfaceCapabilitiesKHR(
&self,
physicalDevice: PhysicalDevice,
surface: SurfaceKHR,
pSurfaceCapabilities: *mut SurfaceCapabilitiesKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
surface: SurfaceKHR,
pSurfaceCapabilities: *mut SurfaceCapabilitiesKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSurfaceFormatsKHR(
&self,
physicalDevice: PhysicalDevice,
surface: SurfaceKHR,
pSurfaceFormatCount: *mut u32,
pSurfaceFormats: *mut SurfaceFormatKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
surface: SurfaceKHR,
pSurfaceFormatCount: *mut u32,
pSurfaceFormats: *mut SurfaceFormatKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSurfacePresentModesKHR(
&self,
physicalDevice: PhysicalDevice,
surface: SurfaceKHR,
pPresentModeCount: *mut u32,
pPresentModes: *mut PresentModeKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
surface: SurfaceKHR,
pPresentModeCount: *mut u32,
pPresentModes: *mut PresentModeKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceDisplayPropertiesKHR(
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut DisplayPropertiesKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut DisplayPropertiesKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceDisplayPlanePropertiesKHR(
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut DisplayPlanePropertiesKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut DisplayPlanePropertiesKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetDisplayPlaneSupportedDisplaysKHR(
&self,
physicalDevice: PhysicalDevice,
planeIndex: u32,
pDisplayCount: *mut u32,
pDisplays: *mut DisplayKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
planeIndex: u32,
pDisplayCount: *mut u32,
pDisplays: *mut DisplayKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetDisplayModePropertiesKHR(
&self,
physicalDevice: PhysicalDevice,
display: DisplayKHR,
pPropertyCount: *mut u32,
pProperties: *mut DisplayModePropertiesKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
display: DisplayKHR,
pPropertyCount: *mut u32,
pProperties: *mut DisplayModePropertiesKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateDisplayModeKHR(
&self,
physicalDevice: PhysicalDevice,
display: DisplayKHR,
pCreateInfo: *const DisplayModeCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pMode: *mut DisplayModeKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
display: DisplayKHR,
pCreateInfo: *const DisplayModeCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pMode: *mut DisplayModeKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetDisplayPlaneCapabilitiesKHR(
&self,
physicalDevice: PhysicalDevice,
mode: DisplayModeKHR,
planeIndex: u32,
pCapabilities: *mut DisplayPlaneCapabilitiesKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
mode: DisplayModeKHR,
planeIndex: u32,
pCapabilities: *mut DisplayPlaneCapabilitiesKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateDisplayPlaneSurfaceKHR(
&self,
pCreateInfo: *const DisplaySurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const DisplaySurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateXlibSurfaceKHR(
&self,
pCreateInfo: *const XlibSurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const XlibSurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceXlibPresentationSupportKHR(
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32,
dpy: *mut Display,
visualID: VisualID
) -> Bool32
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32,
dpy: *mut Display,
visualID: VisualID
) -> Bool32
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateXcbSurfaceKHR(
&self,
pCreateInfo: *const XcbSurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const XcbSurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceXcbPresentationSupportKHR(
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32,
connection: *mut xcb_connection_t,
visual_id: xcb_visualid_t
) -> Bool32
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32,
connection: *mut xcb_connection_t,
visual_id: xcb_visualid_t
) -> Bool32
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateWaylandSurfaceKHR(
&self,
pCreateInfo: *const WaylandSurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const WaylandSurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceWaylandPresentationSupportKHR(
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32,
display: *mut wl_display
) -> Bool32
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32,
display: *mut wl_display
) -> Bool32
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateAndroidSurfaceKHR(
&self,
pCreateInfo: *const AndroidSurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const AndroidSurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateWin32SurfaceKHR(
&self,
pCreateInfo: *const Win32SurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const Win32SurfaceCreateInfoKHR,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceWin32PresentationSupportKHR(
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32
) -> Bool32
&self,
physicalDevice: PhysicalDevice,
queueFamilyIndex: u32
) -> Bool32
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateDebugReportCallbackEXT(
&self,
pCreateInfo: *const DebugReportCallbackCreateInfoEXT,
pAllocator: *const AllocationCallbacks,
pCallback: *mut DebugReportCallbackEXT
) -> Result
&self,
pCreateInfo: *const DebugReportCallbackCreateInfoEXT,
pAllocator: *const AllocationCallbacks,
pCallback: *mut DebugReportCallbackEXT
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn DestroyDebugReportCallbackEXT(
&self,
callback: DebugReportCallbackEXT,
pAllocator: *const AllocationCallbacks
)
&self,
callback: DebugReportCallbackEXT,
pAllocator: *const AllocationCallbacks
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn DebugReportMessageEXT(
&self,
flags: DebugReportFlagsEXT,
objectType: DebugReportObjectTypeEXT,
object: u64,
location: usize,
messageCode: i32,
pLayerPrefix: *const c_char,
pMessage: *const c_char
)
&self,
flags: DebugReportFlagsEXT,
objectType: DebugReportObjectTypeEXT,
object: u64,
location: usize,
messageCode: i32,
pLayerPrefix: *const c_char,
pMessage: *const c_char
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceExternalImageFormatPropertiesNV(
&self,
physicalDevice: PhysicalDevice,
format: Format,
typ: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
externalHandleType: ExternalMemoryHandleTypeFlagsNV,
pExternalImageFormatProperties: *mut ExternalImageFormatPropertiesNV
) -> Result
&self,
physicalDevice: PhysicalDevice,
format: Format,
typ: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
externalHandleType: ExternalMemoryHandleTypeFlagsNV,
pExternalImageFormatProperties: *mut ExternalImageFormatPropertiesNV
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateViSurfaceNN(
&self,
pCreateInfo: *const ViSurfaceCreateInfoNN,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const ViSurfaceCreateInfoNN,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn ReleaseDisplayEXT(
&self,
physicalDevice: PhysicalDevice,
display: DisplayKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
display: DisplayKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn AcquireXlibDisplayEXT(
&self,
physicalDevice: PhysicalDevice,
dpy: *mut Display,
display: DisplayKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
dpy: *mut Display,
display: DisplayKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetRandROutputDisplayEXT(
&self,
physicalDevice: PhysicalDevice,
dpy: *mut Display,
rrOutput: RROutput,
pDisplay: *mut DisplayKHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
dpy: *mut Display,
rrOutput: RROutput,
pDisplay: *mut DisplayKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSurfaceCapabilities2EXT(
&self,
physicalDevice: PhysicalDevice,
surface: SurfaceKHR,
pSurfaceCapabilities: *mut SurfaceCapabilities2EXT
) -> Result
&self,
physicalDevice: PhysicalDevice,
surface: SurfaceKHR,
pSurfaceCapabilities: *mut SurfaceCapabilities2EXT
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSurfaceCapabilities2KHR(
&self,
physicalDevice: PhysicalDevice,
pSurfaceInfo: *const PhysicalDeviceSurfaceInfo2KHR,
pSurfaceCapabilities: *mut SurfaceCapabilities2KHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
pSurfaceInfo: *const PhysicalDeviceSurfaceInfo2KHR,
pSurfaceCapabilities: *mut SurfaceCapabilities2KHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceSurfaceFormats2KHR(
&self,
physicalDevice: PhysicalDevice,
pSurfaceInfo: *const PhysicalDeviceSurfaceInfo2KHR,
pSurfaceFormatCount: *mut u32,
pSurfaceFormats: *mut SurfaceFormat2KHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
pSurfaceInfo: *const PhysicalDeviceSurfaceInfo2KHR,
pSurfaceFormatCount: *mut u32,
pSurfaceFormats: *mut SurfaceFormat2KHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceDisplayProperties2KHR(
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut DisplayProperties2KHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut DisplayProperties2KHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetPhysicalDeviceDisplayPlaneProperties2KHR(
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut DisplayPlaneProperties2KHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
pPropertyCount: *mut u32,
pProperties: *mut DisplayPlaneProperties2KHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetDisplayModeProperties2KHR(
&self,
physicalDevice: PhysicalDevice,
display: DisplayKHR,
pPropertyCount: *mut u32,
pProperties: *mut DisplayModeProperties2KHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
display: DisplayKHR,
pPropertyCount: *mut u32,
pProperties: *mut DisplayModeProperties2KHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn GetDisplayPlaneCapabilities2KHR(
&self,
physicalDevice: PhysicalDevice,
pDisplayPlaneInfo: *const DisplayPlaneInfo2KHR,
pCapabilities: *mut DisplayPlaneCapabilities2KHR
) -> Result
&self,
physicalDevice: PhysicalDevice,
pDisplayPlaneInfo: *const DisplayPlaneInfo2KHR,
pCapabilities: *mut DisplayPlaneCapabilities2KHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateIOSSurfaceMVK(
&self,
pCreateInfo: *const IOSSurfaceCreateInfoMVK,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const IOSSurfaceCreateInfoMVK,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateMacOSSurfaceMVK(
&self,
pCreateInfo: *const MacOSSurfaceCreateInfoMVK,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const MacOSSurfaceCreateInfoMVK,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn SetDebugUtilsObjectNameEXT(
&self,
device: Device,
pNameInfo: *const DebugUtilsObjectNameInfoEXT
) -> Result
&self,
device: Device,
pNameInfo: *const DebugUtilsObjectNameInfoEXT
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn SetDebugUtilsObjectTagEXT(
&self,
device: Device,
pTagInfo: *const DebugUtilsObjectTagInfoEXT
) -> Result
&self,
device: Device,
pTagInfo: *const DebugUtilsObjectTagInfoEXT
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn QueueBeginDebugUtilsLabelEXT(
&self,
queue: Queue,
pLabelInfo: *const DebugUtilsLabelEXT
)
&self,
queue: Queue,
pLabelInfo: *const DebugUtilsLabelEXT
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn QueueEndDebugUtilsLabelEXT(&self, queue: Queue)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn QueueInsertDebugUtilsLabelEXT(
&self,
queue: Queue,
pLabelInfo: *const DebugUtilsLabelEXT
)
&self,
queue: Queue,
pLabelInfo: *const DebugUtilsLabelEXT
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CmdBeginDebugUtilsLabelEXT(
&self,
commandBuffer: CommandBuffer,
pLabelInfo: *const DebugUtilsLabelEXT
)
&self,
commandBuffer: CommandBuffer,
pLabelInfo: *const DebugUtilsLabelEXT
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CmdEndDebugUtilsLabelEXT(&self, commandBuffer: CommandBuffer)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CmdInsertDebugUtilsLabelEXT(
&self,
commandBuffer: CommandBuffer,
pLabelInfo: *const DebugUtilsLabelEXT
)
&self,
commandBuffer: CommandBuffer,
pLabelInfo: *const DebugUtilsLabelEXT
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateDebugUtilsMessengerEXT(
&self,
pCreateInfo: *const DebugUtilsMessengerCreateInfoEXT,
pAllocator: *const AllocationCallbacks,
pMessenger: *mut DebugUtilsMessengerEXT
) -> Result
&self,
pCreateInfo: *const DebugUtilsMessengerCreateInfoEXT,
pAllocator: *const AllocationCallbacks,
pMessenger: *mut DebugUtilsMessengerEXT
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn DestroyDebugUtilsMessengerEXT(
&self,
messenger: DebugUtilsMessengerEXT,
pAllocator: *const AllocationCallbacks
)
&self,
messenger: DebugUtilsMessengerEXT,
pAllocator: *const AllocationCallbacks
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn SubmitDebugUtilsMessageEXT(
&self,
messageSeverity: DebugUtilsMessageSeverityFlagBitsEXT,
messageTypes: DebugUtilsMessageTypeFlagsEXT,
pCallbackData: *const DebugUtilsMessengerCallbackDataEXT
)
&self,
messageSeverity: DebugUtilsMessageSeverityFlagBitsEXT,
messageTypes: DebugUtilsMessageTypeFlagsEXT,
pCallbackData: *const DebugUtilsMessengerCallbackDataEXT
)
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future
fn CreateImagePipeSurfaceFUCHSIA(
&self,
pCreateInfo: *const ImagePipeSurfaceCreateInfoFUCHSIA,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
&self,
pCreateInfo: *const ImagePipeSurfaceCreateInfoFUCHSIA,
pAllocator: *const AllocationCallbacks,
pSurface: *mut SurfaceKHR
) -> Result
InstanceWrapper and DeviceWrapper lack handling physical devices and might be replaced or even removed in the future