[][src]Struct ash::Instance

pub struct Instance { /* fields omitted */ }

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkInstance.html

Methods

impl Instance[src]

pub unsafe fn load(static_fn: &StaticFn, instance: Instance) -> Self[src]

Trait Implementations

impl InstanceV1_1 for Instance[src]

unsafe fn enumerate_physical_device_groups_len(&self) -> usize[src]

fn enumerate_physical_device_groups(
    &self,
    out: &mut [PhysicalDeviceGroupProperties]
) -> VkResult<()>
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumeratePhysicalDeviceGroups.html

unsafe fn get_physical_device_properties2(
    &self,
    physical_device: PhysicalDevice,
    prop: &mut PhysicalDeviceProperties2
)
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceProperties2.html

unsafe fn get_physical_device_format_properties2(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    out: &mut FormatProperties2
)
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFormatProperties2.html

unsafe fn get_physical_device_image_format_properties2(
    &self,
    physical_device: PhysicalDevice,
    format_info: &PhysicalDeviceImageFormatInfo2,
    image_format_prop: &mut ImageFormatProperties2
) -> VkResult<()>
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties2.html

unsafe fn get_physical_device_queue_family_properties2_len(
    &self,
    physical_device: PhysicalDevice
) -> usize
[src]

unsafe fn get_physical_device_queue_family_properties2(
    &self,
    physical_device: PhysicalDevice,
    queue_family_props: &mut [QueueFamilyProperties2]
)
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html

unsafe fn get_physical_device_memory_properties2(
    &self,
    physical_device: PhysicalDevice,
    out: &mut PhysicalDeviceMemoryProperties2
)
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceMemoryProperties2.html

unsafe fn get_physical_device_sparse_image_format_properties2_len(
    &self,
    physical_device: PhysicalDevice,
    format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> usize
[src]

unsafe fn get_physical_device_sparse_image_format_properties2(
    &self,
    physical_device: PhysicalDevice,
    format_info: &PhysicalDeviceSparseImageFormatInfo2,
    out: &mut [SparseImageFormatProperties2]
)
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html

unsafe fn get_physical_device_external_buffer_properties(
    &self,
    physical_device: PhysicalDevice,
    external_buffer_info: &PhysicalDeviceExternalBufferInfo,
    out: &mut ExternalBufferProperties
)
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalBufferProperties.html

unsafe fn get_physical_device_external_fence_properties(
    &self,
    physical_device: PhysicalDevice,
    external_fence_info: &PhysicalDeviceExternalFenceInfo,
    out: &mut ExternalFenceProperties
)
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalFenceProperties.html

unsafe fn get_physical_device_external_semaphore_properties(
    &self,
    physical_device: PhysicalDevice,
    external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo,
    out: &mut ExternalSemaphoreProperties
)
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html

impl InstanceV1_0 for Instance[src]

type Device = Device

unsafe fn create_device(
    &self,
    physical_device: PhysicalDevice,
    create_info: &DeviceCreateInfo,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Device, Result>
[src]

unsafe fn get_device_proc_addr(
    &self,
    device: Device,
    p_name: *const c_char
) -> PFN_vkVoidFunction
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDeviceProcAddr.html

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

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyInstance.html

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

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFormatProperties.html

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]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties.html

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

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceMemoryProperties.html

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

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceProperties.html

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

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html

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

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFeatures.html

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

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumeratePhysicalDevices.html

unsafe fn enumerate_device_extension_properties(
    &self,
    device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result>
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateDeviceExtensionProperties.html

impl Clone for Instance[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for Instance

impl Sync for Instance

impl Send for Instance

impl UnwindSafe for Instance

impl RefUnwindSafe for Instance

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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