Trait ash::version::InstanceV1_0 [−][src]
Associated Types
Loading content...Required methods
fn handle(&self) -> Instance
[src]
fn fp_v1_0(&self) -> &InstanceFnV1_0
[src]
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Self::Device>
[src]
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Self::Device>
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
.
Provided methods
unsafe fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
[src]
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
unsafe fn destroy_instance(
&self,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
[src]
&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>
[src]
&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
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
unsafe fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
unsafe fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
[src]
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
unsafe fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
[src]
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
unsafe fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>>
[src]
unsafe fn enumerate_device_extension_properties(
&self,
device: PhysicalDevice
) -> VkResult<Vec<ExtensionProperties>>
[src]
&self,
device: PhysicalDevice
) -> VkResult<Vec<ExtensionProperties>>
Implementors
impl InstanceV1_0 for Instance
[src]
type Device = Device
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Self::Device>
[src]
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Self::Device>
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
.