[][src]Trait vulkanalia::vk::InstanceV1_0

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

Vulkan 1.0 instance command wrappers.

Required methods

pub fn commands(&self) -> &InstanceCommands[src]

pub fn handle(&self) -> Instance[src]

Loading content...

Provided methods

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

pub fn destroy_instance(&self, allocator: Option<&AllocationCallbacks>)[src]

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

pub fn enumerate_device_layer_properties(
    &self,
    physical_device: PhysicalDevice
) -> VkResult<Vec<LayerProperties>>
[src]

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

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

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

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

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

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

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

pub 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]

Loading content...

Implementors

impl InstanceV1_0 for Instance[src]

Loading content...