pub trait InstanceV1_0 {
Show 14 methods // Required methods fn commands(&self) -> &InstanceCommands; fn handle(&self) -> Instance; // Provided methods unsafe fn create_device( &self, physical_device: PhysicalDevice, create_info: &DeviceCreateInfo, allocator: Option<&AllocationCallbacks> ) -> VkResult<Device> { ... } unsafe fn destroy_instance(&self, allocator: Option<&AllocationCallbacks>) { ... } unsafe fn enumerate_device_extension_properties( &self, physical_device: PhysicalDevice, layer_name: Option<&[u8]> ) -> VkResult<Vec<ExtensionProperties>> { ... } unsafe fn enumerate_device_layer_properties( &self, physical_device: PhysicalDevice ) -> VkResult<Vec<LayerProperties>> { ... } unsafe fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>> { ... } unsafe fn get_physical_device_features( &self, physical_device: PhysicalDevice ) -> PhysicalDeviceFeatures { ... } unsafe fn get_physical_device_format_properties( &self, physical_device: PhysicalDevice, format: Format ) -> FormatProperties { ... } unsafe fn get_physical_device_image_format_properties( &self, physical_device: PhysicalDevice, format: Format, type_: ImageType, tiling: ImageTiling, usage: ImageUsageFlags, flags: ImageCreateFlags ) -> VkResult<ImageFormatProperties> { ... } unsafe fn get_physical_device_memory_properties( &self, physical_device: PhysicalDevice ) -> PhysicalDeviceMemoryProperties { ... } unsafe fn get_physical_device_properties( &self, physical_device: PhysicalDevice ) -> PhysicalDeviceProperties { ... } unsafe fn get_physical_device_queue_family_properties( &self, physical_device: PhysicalDevice ) -> Vec<QueueFamilyProperties> { ... } unsafe fn get_physical_device_sparse_image_format_properties( &self, physical_device: PhysicalDevice, format: Format, type_: ImageType, samples: SampleCountFlags, usage: ImageUsageFlags, tiling: ImageTiling ) -> Vec<SparseImageFormatProperties> { ... }
}
Expand description

Vulkan 1.0 instance command wrappers.

Required Methods§

Provided Methods§

source

unsafe fn create_device( &self, physical_device: PhysicalDevice, create_info: &DeviceCreateInfo, allocator: Option<&AllocationCallbacks> ) -> VkResult<Device>

source

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

source

unsafe fn enumerate_device_extension_properties( &self, physical_device: PhysicalDevice, layer_name: Option<&[u8]> ) -> VkResult<Vec<ExtensionProperties>>

source

unsafe fn enumerate_device_layer_properties( &self, physical_device: PhysicalDevice ) -> VkResult<Vec<LayerProperties>>

source

unsafe fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>>

source

unsafe fn get_physical_device_features( &self, physical_device: PhysicalDevice ) -> PhysicalDeviceFeatures

source

unsafe fn get_physical_device_format_properties( &self, physical_device: PhysicalDevice, format: Format ) -> FormatProperties

source

unsafe fn get_physical_device_image_format_properties( &self, physical_device: PhysicalDevice, format: Format, type_: ImageType, tiling: ImageTiling, usage: ImageUsageFlags, flags: ImageCreateFlags ) -> VkResult<ImageFormatProperties>

source

unsafe fn get_physical_device_memory_properties( &self, physical_device: PhysicalDevice ) -> PhysicalDeviceMemoryProperties

source

unsafe fn get_physical_device_properties( &self, physical_device: PhysicalDevice ) -> PhysicalDeviceProperties

source

unsafe fn get_physical_device_queue_family_properties( &self, physical_device: PhysicalDevice ) -> Vec<QueueFamilyProperties>

source

unsafe fn get_physical_device_sparse_image_format_properties( &self, physical_device: PhysicalDevice, format: Format, type_: ImageType, samples: SampleCountFlags, usage: ImageUsageFlags, tiling: ImageTiling ) -> Vec<SparseImageFormatProperties>

Implementors§