Struct ash::instance::Instance
[−]
[src]
pub struct Instance { pub handle: Instance, pub instance_fn: InstanceFn, }
Fields
handle: Instance
instance_fn: InstanceFn
Methods
impl Instance
[src]
unsafe fn from_raw(handle: Instance, instance_fn: InstanceFn) -> Self
fn create_device(&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo)
-> Result<Device, DeviceError>
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo)
-> Result<Device, DeviceError>
fn destroy_instance(&self)
fn get_physical_device_format_properties(&self,
physical_device: PhysicalDevice,
format: Format)
-> FormatProperties
physical_device: PhysicalDevice,
format: Format)
-> FormatProperties
fn get_physical_device_memory_properties(&self,
physical_device: PhysicalDevice)
-> PhysicalDeviceMemoryProperties
physical_device: PhysicalDevice)
-> PhysicalDeviceMemoryProperties
fn get_physical_device_queue_family_properties(&self,
physical_device: PhysicalDevice)
-> Vec<QueueFamilyProperties>
physical_device: PhysicalDevice)
-> Vec<QueueFamilyProperties>
fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>>
fn enumerate_device_extension_properties(&self,
device: PhysicalDevice)
-> Result<Vec<ExtensionProperties>, Result>
device: PhysicalDevice)
-> Result<Vec<ExtensionProperties>, Result>