[−][src]Struct vulkanalia::Instance
A Vulkan instance.
Implementations
impl Instance
[src]
pub fn extensions(&self) -> &HashSet<ExtensionName>
[src]
Gets the loaded extensions for this Vulkan instance.
pub fn layers(&self) -> &HashSet<CString>
[src]
Gets the loaded layers for this Vulkan instance.
pub fn create_device(
&self,
physical_device: PhysicalDevice,
info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Device>
[src]
&self,
physical_device: PhysicalDevice,
info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Device>
Creates a Vulkan device using this Vulkan instance.
Trait Implementations
impl Clone for Instance
[src]
impl Debug for Instance
[src]
impl ExtAcquireXlibDisplayExtension for Instance
[src]
fn acquire_xlib_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Display>
[src]
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Display>
fn get_rand_r_output_display_ext(
&self,
physical_device: PhysicalDevice,
rr_output: RROutput
) -> VkResult<(Display, DisplayKHR)>
[src]
&self,
physical_device: PhysicalDevice,
rr_output: RROutput
) -> VkResult<(Display, DisplayKHR)>
impl ExtDebugReportExtension for Instance
[src]
fn create_debug_report_callback_ext(
&self,
create_info: &DebugReportCallbackCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DebugReportCallbackEXT>
[src]
&self,
create_info: &DebugReportCallbackCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DebugReportCallbackEXT>
fn debug_report_message_ext(
&self,
flags: DebugReportFlagsEXT,
object_type: DebugReportObjectTypeEXT,
object: u64,
location: usize,
message_code: i32,
layer_prefix: &[u8],
message: &[u8]
)
[src]
&self,
flags: DebugReportFlagsEXT,
object_type: DebugReportObjectTypeEXT,
object: u64,
location: usize,
message_code: i32,
layer_prefix: &[u8],
message: &[u8]
)
fn destroy_debug_report_callback_ext(
&self,
callback: DebugReportCallbackEXT,
allocator: Option<&AllocationCallbacks>
)
[src]
&self,
callback: DebugReportCallbackEXT,
allocator: Option<&AllocationCallbacks>
)
impl ExtDebugUtilsExtension for Instance
[src]
fn cmd_begin_debug_utils_label_ext(
&self,
command_buffer: CommandBuffer,
label_info: &DebugUtilsLabelEXT
)
[src]
&self,
command_buffer: CommandBuffer,
label_info: &DebugUtilsLabelEXT
)
fn cmd_end_debug_utils_label_ext(&self, command_buffer: CommandBuffer)
[src]
fn cmd_insert_debug_utils_label_ext(
&self,
command_buffer: CommandBuffer,
label_info: &DebugUtilsLabelEXT
)
[src]
&self,
command_buffer: CommandBuffer,
label_info: &DebugUtilsLabelEXT
)
fn create_debug_utils_messenger_ext(
&self,
create_info: &DebugUtilsMessengerCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DebugUtilsMessengerEXT>
[src]
&self,
create_info: &DebugUtilsMessengerCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DebugUtilsMessengerEXT>
fn destroy_debug_utils_messenger_ext(
&self,
messenger: DebugUtilsMessengerEXT,
allocator: Option<&AllocationCallbacks>
)
[src]
&self,
messenger: DebugUtilsMessengerEXT,
allocator: Option<&AllocationCallbacks>
)
fn queue_begin_debug_utils_label_ext(
&self,
queue: Queue,
label_info: &DebugUtilsLabelEXT
)
[src]
&self,
queue: Queue,
label_info: &DebugUtilsLabelEXT
)
fn queue_end_debug_utils_label_ext(&self, queue: Queue)
[src]
fn queue_insert_debug_utils_label_ext(
&self,
queue: Queue,
label_info: &DebugUtilsLabelEXT
)
[src]
&self,
queue: Queue,
label_info: &DebugUtilsLabelEXT
)
fn set_debug_utils_object_name_ext(
&self,
device: Device,
name_info: &DebugUtilsObjectNameInfoEXT
) -> VkResult<()>
[src]
&self,
device: Device,
name_info: &DebugUtilsObjectNameInfoEXT
) -> VkResult<()>
fn set_debug_utils_object_tag_ext(
&self,
device: Device,
tag_info: &DebugUtilsObjectTagInfoEXT
) -> VkResult<()>
[src]
&self,
device: Device,
tag_info: &DebugUtilsObjectTagInfoEXT
) -> VkResult<()>
fn submit_debug_utils_message_ext(
&self,
message_severity: DebugUtilsMessageSeverityFlagsEXT,
message_types: DebugUtilsMessageTypeFlagsEXT,
callback_data: &DebugUtilsMessengerCallbackDataEXT
)
[src]
&self,
message_severity: DebugUtilsMessageSeverityFlagsEXT,
message_types: DebugUtilsMessageTypeFlagsEXT,
callback_data: &DebugUtilsMessengerCallbackDataEXT
)
impl ExtDirectModeDisplayExtension for Instance
[src]
fn release_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<()>
[src]
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<()>
impl ExtDirectfbSurfaceExtension for Instance
[src]
fn create_direct_fb_surface_ext(
&self,
create_info: &DirectFBSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &DirectFBSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
fn get_physical_device_direct_fb_presentation_support_ext<T_IDirectFB>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> T_IDirectFB
[src]
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> T_IDirectFB
impl ExtDisplaySurfaceCounterExtension for Instance
[src]
fn get_physical_device_surface_capabilities2_ext(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilities2EXT>
[src]
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilities2EXT>
impl ExtHeadlessSurfaceExtension for Instance
[src]
fn create_headless_surface_ext(
&self,
create_info: &HeadlessSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &HeadlessSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
impl ExtMetalSurfaceExtension for Instance
[src]
fn create_metal_surface_ext(
&self,
create_info: &MetalSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &MetalSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
impl ExtSwapchainColorspaceExtension for Instance
[src]
impl ExtValidationFeaturesExtension for Instance
[src]
impl ExtValidationFlagsExtension for Instance
[src]
impl FuchsiaImagepipeSurfaceExtension for Instance
[src]
fn create_image_pipe_surface_fuchsia(
&self,
create_info: &ImagePipeSurfaceCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &ImagePipeSurfaceCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
impl GgpStreamDescriptorSurfaceExtension for Instance
[src]
fn create_stream_descriptor_surface_ggp(
&self,
create_info: &StreamDescriptorSurfaceCreateInfoGGP,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &StreamDescriptorSurfaceCreateInfoGGP,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
impl InstanceV1_0 for Instance
[src]
fn commands(&self) -> &InstanceCommands
[src]
fn handle(&self) -> Instance
[src]
fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Device>
[src]
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Device>
fn destroy_instance(&self, allocator: Option<&AllocationCallbacks>)
[src]
fn enumerate_device_extension_properties(
&self,
physical_device: PhysicalDevice,
layer_name: Option<&[u8]>
) -> VkResult<Vec<ExtensionProperties>>
[src]
&self,
physical_device: PhysicalDevice,
layer_name: Option<&[u8]>
) -> VkResult<Vec<ExtensionProperties>>
fn enumerate_device_layer_properties(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<LayerProperties>>
[src]
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<LayerProperties>>
fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>>
[src]
fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
[src]
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags
) -> VkResult<ImageFormatProperties>
[src]
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags
) -> VkResult<ImageFormatProperties>
fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
[src]
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
fn get_physical_device_sparse_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
samples: SampleCountFlags,
usage: ImageUsageFlags,
tiling: ImageTiling
) -> Vec<SparseImageFormatProperties>
[src]
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
samples: SampleCountFlags,
usage: ImageUsageFlags,
tiling: ImageTiling
) -> Vec<SparseImageFormatProperties>
impl InstanceV1_1 for Instance
[src]
fn enumerate_physical_device_groups(
&self
) -> VkResult<Vec<PhysicalDeviceGroupProperties>>
[src]
&self
) -> VkResult<Vec<PhysicalDeviceGroupProperties>>
fn get_physical_device_external_buffer_properties(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo
) -> ExternalBufferProperties
[src]
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo
) -> ExternalBufferProperties
fn get_physical_device_external_fence_properties(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo
) -> ExternalFenceProperties
[src]
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo
) -> ExternalFenceProperties
fn get_physical_device_external_semaphore_properties(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo
) -> ExternalSemaphoreProperties
[src]
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo
) -> ExternalSemaphoreProperties
fn get_physical_device_features2(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures2
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures2
fn get_physical_device_format_properties2(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties2
[src]
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties2
fn get_physical_device_image_format_properties2(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2
) -> VkResult<ImageFormatProperties2>
[src]
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2
) -> VkResult<ImageFormatProperties2>
fn get_physical_device_memory_properties2(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties2
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties2
fn get_physical_device_properties2(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties2
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties2
fn get_physical_device_queue_family_properties2(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties2>
[src]
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties2>
fn get_physical_device_sparse_image_format_properties2(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> Vec<SparseImageFormatProperties2>
[src]
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> Vec<SparseImageFormatProperties2>
impl InstanceV1_2 for Instance
[src]
impl KhrAndroidSurfaceExtension for Instance
[src]
fn create_android_surface_khr(
&self,
create_info: &AndroidSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &AndroidSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
impl KhrDeviceGroupCreationExtension for Instance
[src]
fn enumerate_physical_device_groups_khr(
&self
) -> VkResult<Vec<PhysicalDeviceGroupProperties>>
[src]
&self
) -> VkResult<Vec<PhysicalDeviceGroupProperties>>
impl KhrDisplayExtension for Instance
[src]
fn create_display_mode_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DisplayModeKHR>
[src]
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DisplayModeKHR>
fn create_display_plane_surface_khr(
&self,
create_info: &DisplaySurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &DisplaySurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
fn get_display_mode_properties_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Vec<DisplayModePropertiesKHR>>
[src]
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Vec<DisplayModePropertiesKHR>>
fn get_display_plane_capabilities_khr(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32
) -> VkResult<DisplayPlaneCapabilitiesKHR>
[src]
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32
) -> VkResult<DisplayPlaneCapabilitiesKHR>
fn get_display_plane_supported_displays_khr(
&self,
physical_device: PhysicalDevice,
plane_index: u32
) -> VkResult<Vec<DisplayKHR>>
[src]
&self,
physical_device: PhysicalDevice,
plane_index: u32
) -> VkResult<Vec<DisplayKHR>>
fn get_physical_device_display_plane_properties_khr(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPlanePropertiesKHR>>
[src]
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPlanePropertiesKHR>>
fn get_physical_device_display_properties_khr(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPropertiesKHR>>
[src]
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPropertiesKHR>>
impl KhrExternalFenceCapabilitiesExtension for Instance
[src]
fn get_physical_device_external_fence_properties_khr(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo
) -> ExternalFenceProperties
[src]
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo
) -> ExternalFenceProperties
impl KhrExternalMemoryCapabilitiesExtension for Instance
[src]
fn get_physical_device_external_buffer_properties_khr(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo
) -> ExternalBufferProperties
[src]
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo
) -> ExternalBufferProperties
impl KhrExternalSemaphoreCapabilitiesExtension for Instance
[src]
fn get_physical_device_external_semaphore_properties_khr(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo
) -> ExternalSemaphoreProperties
[src]
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo
) -> ExternalSemaphoreProperties
impl KhrGetDisplayProperties2Extension for Instance
[src]
fn get_display_mode_properties2_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Vec<DisplayModeProperties2KHR>>
[src]
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Vec<DisplayModeProperties2KHR>>
fn get_display_plane_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
display_plane_info: &DisplayPlaneInfo2KHR
) -> VkResult<DisplayPlaneCapabilities2KHR>
[src]
&self,
physical_device: PhysicalDevice,
display_plane_info: &DisplayPlaneInfo2KHR
) -> VkResult<DisplayPlaneCapabilities2KHR>
fn get_physical_device_display_plane_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPlaneProperties2KHR>>
[src]
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPlaneProperties2KHR>>
fn get_physical_device_display_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayProperties2KHR>>
[src]
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayProperties2KHR>>
impl KhrGetPhysicalDeviceProperties2Extension for Instance
[src]
fn get_physical_device_features2_khr(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures2
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures2
fn get_physical_device_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties2
[src]
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties2
fn get_physical_device_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2
) -> VkResult<ImageFormatProperties2>
[src]
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2
) -> VkResult<ImageFormatProperties2>
fn get_physical_device_memory_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties2
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties2
fn get_physical_device_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties2
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties2
fn get_physical_device_queue_family_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties2>
[src]
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties2>
fn get_physical_device_sparse_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> Vec<SparseImageFormatProperties2>
[src]
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> Vec<SparseImageFormatProperties2>
impl KhrGetSurfaceCapabilities2Extension for Instance
[src]
fn get_physical_device_surface_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<SurfaceCapabilities2KHR>
[src]
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<SurfaceCapabilities2KHR>
fn get_physical_device_surface_formats2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<Vec<SurfaceFormat2KHR>>
[src]
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<Vec<SurfaceFormat2KHR>>
impl KhrSurfaceExtension for Instance
[src]
fn destroy_surface_khr(
&self,
surface: SurfaceKHR,
allocator: Option<&AllocationCallbacks>
)
[src]
&self,
surface: SurfaceKHR,
allocator: Option<&AllocationCallbacks>
)
fn get_physical_device_surface_capabilities_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
[src]
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
fn get_physical_device_surface_formats_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
[src]
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
fn get_physical_device_surface_present_modes_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
[src]
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
fn get_physical_device_surface_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
surface: SurfaceKHR
) -> VkResult<bool>
[src]
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
surface: SurfaceKHR
) -> VkResult<bool>
impl KhrSurfaceProtectedCapabilitiesExtension for Instance
[src]
impl KhrWaylandSurfaceExtension for Instance
[src]
fn create_wayland_surface_khr(
&self,
create_info: &WaylandSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &WaylandSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
fn get_physical_device_wayland_presentation_support_khr<T_wl_display>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> T_wl_display
[src]
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> T_wl_display
impl KhrWin32SurfaceExtension for Instance
[src]
fn create_win32_surface_khr(
&self,
create_info: &Win32SurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &Win32SurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
fn get_physical_device_win32_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
)
[src]
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
)
impl KhrXcbSurfaceExtension for Instance
[src]
fn create_xcb_surface_khr(
&self,
create_info: &XcbSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &XcbSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
fn get_physical_device_xcb_presentation_support_khr<T_xcb_connection_t>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
visual_id: xcb_visualid_t
) -> T_xcb_connection_t
[src]
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
visual_id: xcb_visualid_t
) -> T_xcb_connection_t
impl KhrXlibSurfaceExtension for Instance
[src]
fn create_xlib_surface_khr(
&self,
create_info: &XlibSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &XlibSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
fn get_physical_device_xlib_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
visual_id: VisualID
) -> Display
[src]
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
visual_id: VisualID
) -> Display
impl MvkIosSurfaceExtension for Instance
[src]
fn create_ios_surface_mvk(
&self,
create_info: &IOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &IOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
impl MvkMacosSurfaceExtension for Instance
[src]
fn create_mac_os_surface_mvk(
&self,
create_info: &MacOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &MacOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
impl NnViSurfaceExtension for Instance
[src]
fn create_vi_surface_nn(
&self,
create_info: &ViSurfaceCreateInfoNN,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]
&self,
create_info: &ViSurfaceCreateInfoNN,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
impl NvExternalMemoryCapabilitiesExtension for Instance
[src]
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
) -> VkResult<ExternalImageFormatPropertiesNV>
[src]
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
external_handle_type: ExternalMemoryHandleTypeFlagsNV
) -> VkResult<ExternalImageFormatPropertiesNV>
impl Send for Instance
[src]
impl Sync for Instance
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,