[][src]Struct erupt::InstanceLoader

pub struct InstanceLoader {
    pub loader: PFN_vkGetInstanceProcAddr,
    pub handle: Instance,
    pub vk1_0: Option<Vk10InstanceCommands>,
    pub vk1_1: Option<Vk11InstanceCommands>,
    pub khr_get_physical_device_properties2: Option<KhrGetPhysicalDeviceProperties2InstanceCommands>,
    pub khr_surface: Option<KhrSurfaceInstanceCommands>,
    pub khr_swapchain: Option<KhrSwapchainInstanceCommands>,
    pub khr_get_surface_capabilities2: Option<KhrGetSurfaceCapabilities2InstanceCommands>,
    pub nv_cooperative_matrix: Option<NvCooperativeMatrixInstanceCommands>,
    pub ext_debug_report: Option<ExtDebugReportInstanceCommands>,
    pub ext_metal_surface: Option<ExtMetalSurfaceInstanceCommands>,
    pub fuchsia_imagepipe_surface: Option<FuchsiaImagepipeSurfaceInstanceCommands>,
    pub ggp_stream_descriptor_surface: Option<GgpStreamDescriptorSurfaceInstanceCommands>,
    pub ext_calibrated_timestamps: Option<ExtCalibratedTimestampsInstanceCommands>,
    pub khr_external_memory_capabilities: Option<KhrExternalMemoryCapabilitiesInstanceCommands>,
    pub nv_coverage_reduction_mode: Option<NvCoverageReductionModeInstanceCommands>,
    pub ext_sample_locations: Option<ExtSampleLocationsInstanceCommands>,
    pub ext_debug_utils: Option<ExtDebugUtilsInstanceCommands>,
    pub mvk_macos_surface: Option<MvkMacosSurfaceInstanceCommands>,
    pub mvk_ios_surface: Option<MvkIosSurfaceInstanceCommands>,
    pub khr_display: Option<KhrDisplayInstanceCommands>,
    pub khr_win32_surface: Option<KhrWin32SurfaceInstanceCommands>,
    pub khr_performance_query: Option<KhrPerformanceQueryInstanceCommands>,
    pub khr_external_fence_capabilities: Option<KhrExternalFenceCapabilitiesInstanceCommands>,
    pub ext_display_surface_counter: Option<ExtDisplaySurfaceCounterInstanceCommands>,
    pub ext_direct_mode_display: Option<ExtDirectModeDisplayInstanceCommands>,
    pub ext_acquire_xlib_display: Option<ExtAcquireXlibDisplayInstanceCommands>,
    pub khr_external_semaphore_capabilities: Option<KhrExternalSemaphoreCapabilitiesInstanceCommands>,
    pub khr_device_group_creation: Option<KhrDeviceGroupCreationInstanceCommands>,
    pub nn_vi_surface: Option<NnViSurfaceInstanceCommands>,
    pub khr_device_group: Option<KhrDeviceGroupInstanceCommands>,
    pub nv_external_memory_capabilities: Option<NvExternalMemoryCapabilitiesInstanceCommands>,
    pub ext_tooling_info: Option<ExtToolingInfoInstanceCommands>,
    pub ext_full_screen_exclusive: Option<ExtFullScreenExclusiveInstanceCommands>,
    pub khr_android_surface: Option<KhrAndroidSurfaceInstanceCommands>,
    pub khr_wayland_surface: Option<KhrWaylandSurfaceInstanceCommands>,
    pub khr_xcb_surface: Option<KhrXcbSurfaceInstanceCommands>,
    pub khr_xlib_surface: Option<KhrXlibSurfaceInstanceCommands>,
    pub khr_get_display_properties2: Option<KhrGetDisplayProperties2InstanceCommands>,
    pub ext_headless_surface: Option<ExtHeadlessSurfaceInstanceCommands>,
}

Loader for Instance Commands. Must outlive CoreLoader

Fields

loader: PFN_vkGetInstanceProcAddrhandle: Instancevk1_0: Option<Vk10InstanceCommands>vk1_1: Option<Vk11InstanceCommands>khr_get_physical_device_properties2: Option<KhrGetPhysicalDeviceProperties2InstanceCommands>khr_surface: Option<KhrSurfaceInstanceCommands>khr_swapchain: Option<KhrSwapchainInstanceCommands>khr_get_surface_capabilities2: Option<KhrGetSurfaceCapabilities2InstanceCommands>nv_cooperative_matrix: Option<NvCooperativeMatrixInstanceCommands>ext_debug_report: Option<ExtDebugReportInstanceCommands>ext_metal_surface: Option<ExtMetalSurfaceInstanceCommands>fuchsia_imagepipe_surface: Option<FuchsiaImagepipeSurfaceInstanceCommands>ggp_stream_descriptor_surface: Option<GgpStreamDescriptorSurfaceInstanceCommands>ext_calibrated_timestamps: Option<ExtCalibratedTimestampsInstanceCommands>khr_external_memory_capabilities: Option<KhrExternalMemoryCapabilitiesInstanceCommands>nv_coverage_reduction_mode: Option<NvCoverageReductionModeInstanceCommands>ext_sample_locations: Option<ExtSampleLocationsInstanceCommands>ext_debug_utils: Option<ExtDebugUtilsInstanceCommands>mvk_macos_surface: Option<MvkMacosSurfaceInstanceCommands>mvk_ios_surface: Option<MvkIosSurfaceInstanceCommands>khr_display: Option<KhrDisplayInstanceCommands>khr_win32_surface: Option<KhrWin32SurfaceInstanceCommands>khr_performance_query: Option<KhrPerformanceQueryInstanceCommands>khr_external_fence_capabilities: Option<KhrExternalFenceCapabilitiesInstanceCommands>ext_display_surface_counter: Option<ExtDisplaySurfaceCounterInstanceCommands>ext_direct_mode_display: Option<ExtDirectModeDisplayInstanceCommands>ext_acquire_xlib_display: Option<ExtAcquireXlibDisplayInstanceCommands>khr_external_semaphore_capabilities: Option<KhrExternalSemaphoreCapabilitiesInstanceCommands>khr_device_group_creation: Option<KhrDeviceGroupCreationInstanceCommands>nn_vi_surface: Option<NnViSurfaceInstanceCommands>khr_device_group: Option<KhrDeviceGroupInstanceCommands>nv_external_memory_capabilities: Option<NvExternalMemoryCapabilitiesInstanceCommands>ext_tooling_info: Option<ExtToolingInfoInstanceCommands>ext_full_screen_exclusive: Option<ExtFullScreenExclusiveInstanceCommands>khr_android_surface: Option<KhrAndroidSurfaceInstanceCommands>khr_wayland_surface: Option<KhrWaylandSurfaceInstanceCommands>khr_xcb_surface: Option<KhrXcbSurfaceInstanceCommands>khr_xlib_surface: Option<KhrXlibSurfaceInstanceCommands>khr_get_display_properties2: Option<KhrGetDisplayProperties2InstanceCommands>ext_headless_surface: Option<ExtHeadlessSurfaceInstanceCommands>

Methods

impl InstanceLoader[src]

pub fn new<T>(
    core_loader: &CoreLoader<T>,
    instance: Instance
) -> Option<InstanceLoader>
[src]

pub unsafe fn symbol(&self, name: &str) -> Option<NonZeroUsize>[src]

#[must_use = "Loading may have not been successful"]pub fn load_vk1_0(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_vk1_1(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_get_physical_device_properties2(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_swapchain(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_get_surface_capabilities2(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_nv_cooperative_matrix(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_debug_report(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_metal_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_fuchsia_imagepipe_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ggp_stream_descriptor_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_calibrated_timestamps(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_external_memory_capabilities(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_nv_coverage_reduction_mode(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_sample_locations(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_debug_utils(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_mvk_macos_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_mvk_ios_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_display(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_win32_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_performance_query(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_external_fence_capabilities(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_display_surface_counter(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_direct_mode_display(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_acquire_xlib_display(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_external_semaphore_capabilities(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_device_group_creation(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_nn_vi_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_device_group(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_nv_external_memory_capabilities(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_tooling_info(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_full_screen_exclusive(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_android_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_wayland_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_xcb_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_xlib_surface(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_khr_get_display_properties2(&mut self) -> Option<()>[src]

#[must_use = "Loading may have not been successful"]pub fn load_ext_headless_surface(&mut self) -> Option<()>[src]

Trait Implementations

impl ExtAcquireXlibDisplayInstanceLoaderExt for InstanceLoader[src]

unsafe fn acquire_xlib_display_ext(
    &self,
    physical_device: PhysicalDevice,
    dpy: *mut *const c_void,
    display: DisplayKHR
) -> VulkanResult<()>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_rand_r_output_display_ext(
    &self,
    physical_device: PhysicalDevice,
    dpy: *mut *const c_void,
    rr_output: c_ulong,
    display: Option<DisplayKHR>
) -> VulkanResult<DisplayKHR>
[src]

Vulkan Manual Page · Instance Command

impl ExtCalibratedTimestampsInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_calibrateable_time_domains_ext(
    &self,
    physical_device: PhysicalDevice,
    time_domain_count: Option<u32>
) -> VulkanResult<Vec<TimeDomainEXT>>
[src]

Vulkan Manual Page · Instance Command

impl ExtDebugReportInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_debug_report_callback_ext(
    &self,
    create_info: &DebugReportCallbackCreateInfoEXT,
    allocator: Option<&AllocationCallbacks>,
    callback: Option<DebugReportCallbackEXT>
) -> VulkanResult<DebugReportCallbackEXT>
[src]

Vulkan Manual Page · Instance Command

unsafe fn destroy_debug_report_callback_ext(
    &self,
    callback: DebugReportCallbackEXT,
    allocator: Option<&AllocationCallbacks>
)
[src]

Vulkan Manual Page · Instance Command

unsafe fn debug_report_message_ext(
    &self,
    flags: DebugReportFlagsEXT,
    object_type: DebugReportObjectTypeEXT,
    object: u64,
    location: usize,
    message_code: i32,
    layer_prefix: Option<&CStr>,
    message: Option<&CStr>
)
[src]

Vulkan Manual Page · Instance Command

impl ExtDebugUtilsInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_debug_utils_messenger_ext(
    &self,
    create_info: &DebugUtilsMessengerCreateInfoEXT,
    allocator: Option<&AllocationCallbacks>,
    messenger: Option<DebugUtilsMessengerEXT>
) -> VulkanResult<DebugUtilsMessengerEXT>
[src]

Vulkan Manual Page · Instance Command

unsafe fn destroy_debug_utils_messenger_ext(
    &self,
    messenger: DebugUtilsMessengerEXT,
    allocator: Option<&AllocationCallbacks>
)
[src]

Vulkan Manual Page · Instance Command

unsafe fn submit_debug_utils_message_ext(
    &self,
    message_severity: DebugUtilsMessageSeverityFlagBitsEXT,
    message_types: DebugUtilsMessageTypeFlagsEXT,
    callback_data: &DebugUtilsMessengerCallbackDataEXT
)
[src]

Vulkan Manual Page · Instance Command

impl ExtDirectModeDisplayInstanceLoaderExt for InstanceLoader[src]

unsafe fn release_display_ext(
    &self,
    physical_device: PhysicalDevice,
    display: DisplayKHR
) -> VulkanResult<()>
[src]

Vulkan Manual Page · Instance Command

impl ExtDisplaySurfaceCounterInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_surface_capabilities2_ext(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    surface_capabilities: Option<SurfaceCapabilities2EXT>
) -> VulkanResult<SurfaceCapabilities2EXT>
[src]

Vulkan Manual Page · Instance Command

impl ExtFullScreenExclusiveInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_surface_present_modes2_ext(
    &self,
    physical_device: PhysicalDevice,
    surface_info: &PhysicalDeviceSurfaceInfo2KHR,
    present_mode_count: Option<u32>
) -> VulkanResult<Vec<PresentModeKHR>>
[src]

Vulkan Manual Page · Instance Command

impl ExtHeadlessSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_headless_surface_ext(
    &self,
    create_info: &HeadlessSurfaceCreateInfoEXT,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl ExtMetalSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_metal_surface_ext(
    &self,
    create_info: &MetalSurfaceCreateInfoEXT,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl ExtSampleLocationsInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_multisample_properties_ext(
    &self,
    physical_device: PhysicalDevice,
    samples: SampleCountFlagBits,
    multisample_properties: Option<MultisamplePropertiesEXT>
) -> MultisamplePropertiesEXT
[src]

Vulkan Manual Page · Instance Command

impl ExtToolingInfoInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_tool_properties_ext(
    &self,
    physical_device: PhysicalDevice,
    tool_count: Option<u32>
) -> VulkanResult<Vec<PhysicalDeviceToolPropertiesEXT>>
[src]

Vulkan Manual Page · Instance Command

impl FuchsiaImagepipeSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_image_pipe_surface_fuchsia(
    &self,
    create_info: &ImagePipeSurfaceCreateInfoFUCHSIA,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl GgpStreamDescriptorSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_stream_descriptor_surface_ggp(
    &self,
    create_info: &StreamDescriptorSurfaceCreateInfoGGP,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl KhrAndroidSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_android_surface_khr(
    &self,
    create_info: &AndroidSurfaceCreateInfoKHR,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl KhrDeviceGroupCreationInstanceLoaderExt for InstanceLoader[src]

unsafe fn enumerate_physical_device_groups_khr(
    &self,
    physical_device_group_count: Option<u32>
) -> VulkanResult<Vec<PhysicalDeviceGroupProperties>>
[src]

Vulkan Manual Page · Instance Command

impl KhrDeviceGroupInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_present_rectangles_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    rect_count: Option<u32>
) -> VulkanResult<Vec<Rect2D>>
[src]

Vulkan Manual Page · Instance Command

impl KhrDisplayInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_display_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    property_count: Option<u32>
) -> VulkanResult<Vec<DisplayPropertiesKHR>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_display_plane_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    property_count: Option<u32>
) -> VulkanResult<Vec<DisplayPlanePropertiesKHR>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_display_plane_supported_displays_khr(
    &self,
    physical_device: PhysicalDevice,
    plane_index: u32,
    display_count: Option<u32>
) -> VulkanResult<Vec<DisplayKHR>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_display_mode_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    display: DisplayKHR,
    property_count: Option<u32>
) -> VulkanResult<Vec<DisplayModePropertiesKHR>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn create_display_mode_khr(
    &self,
    physical_device: PhysicalDevice,
    display: DisplayKHR,
    create_info: &DisplayModeCreateInfoKHR,
    allocator: Option<&AllocationCallbacks>,
    mode: Option<DisplayModeKHR>
) -> VulkanResult<DisplayModeKHR>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_display_plane_capabilities_khr(
    &self,
    physical_device: PhysicalDevice,
    mode: DisplayModeKHR,
    plane_index: u32,
    capabilities: Option<DisplayPlaneCapabilitiesKHR>
) -> VulkanResult<DisplayPlaneCapabilitiesKHR>
[src]

Vulkan Manual Page · Instance Command

unsafe fn create_display_plane_surface_khr(
    &self,
    create_info: &DisplaySurfaceCreateInfoKHR,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl KhrExternalFenceCapabilitiesInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_external_fence_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    external_fence_info: &PhysicalDeviceExternalFenceInfo,
    external_fence_properties: Option<ExternalFenceProperties>
) -> ExternalFenceProperties
[src]

Vulkan Manual Page · Instance Command

impl KhrExternalMemoryCapabilitiesInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_external_buffer_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    external_buffer_info: &PhysicalDeviceExternalBufferInfo,
    external_buffer_properties: Option<ExternalBufferProperties>
) -> ExternalBufferProperties
[src]

Vulkan Manual Page · Instance Command

impl KhrExternalSemaphoreCapabilitiesInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_external_semaphore_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo,
    external_semaphore_properties: Option<ExternalSemaphoreProperties>
) -> ExternalSemaphoreProperties
[src]

Vulkan Manual Page · Instance Command

impl KhrGetDisplayProperties2InstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_display_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    property_count: Option<u32>
) -> VulkanResult<Vec<DisplayProperties2KHR>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_display_plane_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    property_count: Option<u32>
) -> VulkanResult<Vec<DisplayPlaneProperties2KHR>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_display_mode_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    display: DisplayKHR,
    property_count: Option<u32>
) -> VulkanResult<Vec<DisplayModeProperties2KHR>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_display_plane_capabilities2_khr(
    &self,
    physical_device: PhysicalDevice,
    display_plane_info: &DisplayPlaneInfo2KHR,
    capabilities: Option<DisplayPlaneCapabilities2KHR>
) -> VulkanResult<DisplayPlaneCapabilities2KHR>
[src]

Vulkan Manual Page · Instance Command

impl KhrGetPhysicalDeviceProperties2InstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_features2_khr(
    &self,
    physical_device: PhysicalDevice,
    features: Option<PhysicalDeviceFeatures2>
) -> PhysicalDeviceFeatures2
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    properties: Option<PhysicalDeviceProperties2>
) -> PhysicalDeviceProperties2
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_format_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    format_properties: Option<FormatProperties2>
) -> FormatProperties2
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_image_format_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    image_format_info: &PhysicalDeviceImageFormatInfo2,
    image_format_properties: Option<ImageFormatProperties2>
) -> VulkanResult<ImageFormatProperties2>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_queue_family_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_property_count: Option<u32>
) -> Vec<QueueFamilyProperties2>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_memory_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    memory_properties: Option<PhysicalDeviceMemoryProperties2>
) -> PhysicalDeviceMemoryProperties2
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_sparse_image_format_properties2_khr(
    &self,
    physical_device: PhysicalDevice,
    format_info: &PhysicalDeviceSparseImageFormatInfo2,
    property_count: Option<u32>
) -> Vec<SparseImageFormatProperties2>
[src]

Vulkan Manual Page · Instance Command

impl KhrGetSurfaceCapabilities2InstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_surface_capabilities2_khr(
    &self,
    physical_device: PhysicalDevice,
    surface_info: &PhysicalDeviceSurfaceInfo2KHR,
    surface_capabilities: Option<SurfaceCapabilities2KHR>
) -> VulkanResult<SurfaceCapabilities2KHR>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_surface_formats2_khr(
    &self,
    physical_device: PhysicalDevice,
    surface_info: &PhysicalDeviceSurfaceInfo2KHR,
    surface_format_count: Option<u32>
) -> VulkanResult<Vec<SurfaceFormat2KHR>>
[src]

Vulkan Manual Page · Instance Command

impl KhrPerformanceQueryInstanceLoaderExt for InstanceLoader[src]

unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    counter_count: Option<u32>
) -> VulkanResult<(Vec<PerformanceCounterKHR>, Vec<PerformanceCounterDescriptionKHR>)>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
    &self,
    physical_device: PhysicalDevice,
    performance_query_create_info: &QueryPoolPerformanceCreateInfoKHR,
    num_passes: Option<u32>
) -> u32
[src]

Vulkan Manual Page · Instance Command

impl KhrSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn destroy_surface_khr(
    &self,
    surface: SurfaceKHR,
    allocator: Option<&AllocationCallbacks>
)
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_surface_support_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    surface: SurfaceKHR,
    supported: Option<Bool32>
) -> VulkanResult<Bool32>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_surface_capabilities_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    surface_capabilities: Option<SurfaceCapabilitiesKHR>
) -> VulkanResult<SurfaceCapabilitiesKHR>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_surface_formats_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    surface_format_count: Option<u32>
) -> VulkanResult<Vec<SurfaceFormatKHR>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_surface_present_modes_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    present_mode_count: Option<u32>
) -> VulkanResult<Vec<PresentModeKHR>>
[src]

Vulkan Manual Page · Instance Command

impl KhrSwapchainInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_present_rectangles_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    rect_count: Option<u32>
) -> VulkanResult<Vec<Rect2D>>
[src]

Vulkan Manual Page · Instance Command

impl KhrWaylandSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_wayland_surface_khr(
    &self,
    create_info: &WaylandSurfaceCreateInfoKHR,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_wayland_presentation_support_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    display: *mut c_void
) -> Bool32
[src]

Vulkan Manual Page · Instance Command

impl KhrWin32SurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_win32_surface_khr(
    &self,
    create_info: &Win32SurfaceCreateInfoKHR,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_win32_presentation_support_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32
) -> Bool32
[src]

Vulkan Manual Page · Instance Command

impl KhrXcbSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_xcb_surface_khr(
    &self,
    create_info: &XcbSurfaceCreateInfoKHR,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_xcb_presentation_support_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    connection: *mut *const c_void,
    visual_id: *const c_void
) -> Bool32
[src]

Vulkan Manual Page · Instance Command

impl KhrXlibSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_xlib_surface_khr(
    &self,
    create_info: &XlibSurfaceCreateInfoKHR,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_xlib_presentation_support_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    dpy: *mut *const c_void,
    visual_id: c_uint
) -> Bool32
[src]

Vulkan Manual Page · Instance Command

impl MvkIosSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_ios_surface_mvk(
    &self,
    create_info: &IOSSurfaceCreateInfoMVK,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl MvkMacosSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_mac_os_surface_mvk(
    &self,
    create_info: &MacOSSurfaceCreateInfoMVK,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl NnViSurfaceInstanceLoaderExt for InstanceLoader[src]

unsafe fn create_vi_surface_nn(
    &self,
    create_info: &ViSurfaceCreateInfoNN,
    allocator: Option<&AllocationCallbacks>,
    surface: Option<SurfaceKHR>
) -> VulkanResult<SurfaceKHR>
[src]

Vulkan Manual Page · Instance Command

impl NvCooperativeMatrixInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_cooperative_matrix_properties_nv(
    &self,
    physical_device: PhysicalDevice,
    property_count: Option<u32>
) -> VulkanResult<Vec<CooperativeMatrixPropertiesNV>>
[src]

Vulkan Manual Page · Instance Command

impl NvCoverageReductionModeInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_supported_framebuffer_mixed_samples_combinations_nv(
    &self,
    physical_device: PhysicalDevice,
    combination_count: Option<u32>
) -> VulkanResult<Vec<FramebufferMixedSamplesCombinationNV>>
[src]

Vulkan Manual Page · Instance Command

impl NvExternalMemoryCapabilitiesInstanceLoaderExt for InstanceLoader[src]

unsafe fn get_physical_device_external_image_format_properties_nv(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    _type: ImageType,
    tiling: ImageTiling,
    usage: ImageUsageFlags,
    flags: ImageCreateFlags,
    external_handle_type: ExternalMemoryHandleTypeFlagsNV,
    external_image_format_properties: Option<ExternalImageFormatPropertiesNV>
) -> VulkanResult<ExternalImageFormatPropertiesNV>
[src]

Vulkan Manual Page · Instance Command

impl Vk10InstanceLoaderExt for InstanceLoader[src]

unsafe fn destroy_instance(&self, allocator: Option<&AllocationCallbacks>)[src]

Vulkan Manual Page · Instance Command

unsafe fn enumerate_physical_devices(
    &self,
    physical_device_count: Option<u32>
) -> VulkanResult<Vec<PhysicalDevice>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_features(
    &self,
    physical_device: PhysicalDevice,
    features: Option<PhysicalDeviceFeatures>
) -> PhysicalDeviceFeatures
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_format_properties(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    format_properties: Option<FormatProperties>
) -> FormatProperties
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_image_format_properties(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    _type: ImageType,
    tiling: ImageTiling,
    usage: ImageUsageFlags,
    flags: ImageCreateFlags,
    image_format_properties: Option<ImageFormatProperties>
) -> VulkanResult<ImageFormatProperties>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_properties(
    &self,
    physical_device: PhysicalDevice,
    properties: Option<PhysicalDeviceProperties>
) -> PhysicalDeviceProperties
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_queue_family_properties(
    &self,
    physical_device: PhysicalDevice,
    queue_family_property_count: Option<u32>
) -> Vec<QueueFamilyProperties>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_memory_properties(
    &self,
    physical_device: PhysicalDevice,
    memory_properties: Option<PhysicalDeviceMemoryProperties>
) -> PhysicalDeviceMemoryProperties
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_instance_proc_addr(
    &self,
    name: Option<&CStr>
) -> PFN_vkVoidFunction
[src]

Vulkan Manual Page · Instance Command

unsafe fn create_device(
    &self,
    physical_device: PhysicalDevice,
    create_info: &DeviceCreateInfo,
    allocator: Option<&AllocationCallbacks>,
    device: Option<Device>
) -> VulkanResult<Device>
[src]

Vulkan Manual Page · Instance Command

unsafe fn enumerate_device_extension_properties(
    &self,
    physical_device: PhysicalDevice,
    layer_name: Option<&CStr>,
    property_count: Option<u32>
) -> VulkanResult<Vec<ExtensionProperties>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn enumerate_device_layer_properties(
    &self,
    physical_device: PhysicalDevice,
    property_count: Option<u32>
) -> VulkanResult<Vec<LayerProperties>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_sparse_image_format_properties(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    _type: ImageType,
    samples: SampleCountFlagBits,
    usage: ImageUsageFlags,
    tiling: ImageTiling,
    property_count: Option<u32>
) -> Vec<SparseImageFormatProperties>
[src]

Vulkan Manual Page · Instance Command

impl Vk11InstanceLoaderExt for InstanceLoader[src]

unsafe fn enumerate_physical_device_groups(
    &self,
    physical_device_group_count: Option<u32>
) -> VulkanResult<Vec<PhysicalDeviceGroupProperties>>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_features2(
    &self,
    physical_device: PhysicalDevice,
    features: Option<PhysicalDeviceFeatures2>
) -> PhysicalDeviceFeatures2
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_properties2(
    &self,
    physical_device: PhysicalDevice,
    properties: Option<PhysicalDeviceProperties2>
) -> PhysicalDeviceProperties2
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_format_properties2(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    format_properties: Option<FormatProperties2>
) -> FormatProperties2
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_image_format_properties2(
    &self,
    physical_device: PhysicalDevice,
    image_format_info: &PhysicalDeviceImageFormatInfo2,
    image_format_properties: Option<ImageFormatProperties2>
) -> VulkanResult<ImageFormatProperties2>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_queue_family_properties2(
    &self,
    physical_device: PhysicalDevice,
    queue_family_property_count: Option<u32>
) -> Vec<QueueFamilyProperties2>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_memory_properties2(
    &self,
    physical_device: PhysicalDevice,
    memory_properties: Option<PhysicalDeviceMemoryProperties2>
) -> PhysicalDeviceMemoryProperties2
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_sparse_image_format_properties2(
    &self,
    physical_device: PhysicalDevice,
    format_info: &PhysicalDeviceSparseImageFormatInfo2,
    property_count: Option<u32>
) -> Vec<SparseImageFormatProperties2>
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_external_buffer_properties(
    &self,
    physical_device: PhysicalDevice,
    external_buffer_info: &PhysicalDeviceExternalBufferInfo,
    external_buffer_properties: Option<ExternalBufferProperties>
) -> ExternalBufferProperties
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_external_fence_properties(
    &self,
    physical_device: PhysicalDevice,
    external_fence_info: &PhysicalDeviceExternalFenceInfo,
    external_fence_properties: Option<ExternalFenceProperties>
) -> ExternalFenceProperties
[src]

Vulkan Manual Page · Instance Command

unsafe fn get_physical_device_external_semaphore_properties(
    &self,
    physical_device: PhysicalDevice,
    external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo,
    external_semaphore_properties: Option<ExternalSemaphoreProperties>
) -> ExternalSemaphoreProperties
[src]

Vulkan Manual Page · Instance Command

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.