Trait ash::version::InstanceV1_0 [−][src]
pub trait InstanceV1_0 { type Device;}Show 13 methods
fn handle(&self) -> Instance; fn fp_v1_0(&self) -> &InstanceFnV1_0; unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Device, Result>; unsafe fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction { ... } unsafe fn destroy_instance(
&self,
allocation_callbacks: Option<&AllocationCallbacks>
) { ... } 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,
typ: 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_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures { ... } unsafe fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>> { ... } unsafe fn enumerate_device_extension_properties(
&self,
device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result> { ... }
Associated Types
Required methods
fn fp_v1_0(&self) -> &InstanceFnV1_0
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Device, Result>
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Device, Result>
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDevice.html
Safety
In order for the created Device
to be valid for the duration of its
usage, the Instance
this was called on must be dropped later than the
resulting Device
.