Struct ash::Instance [−][src]
pub struct Instance<V: FunctionPointers> { /* fields omitted */ }
Methods
impl<V: FunctionPointers> Instance<V>
[src]
impl<V: FunctionPointers> Instance<V>
pub fn handle(&self) -> Instance
[src]
pub fn handle(&self) -> Instance
pub fn from_raw(handle: Instance, version: V::InstanceFp) -> Self
[src]
pub fn from_raw(handle: Instance, version: V::InstanceFp) -> Self
Trait Implementations
impl<V: Clone + FunctionPointers> Clone for Instance<V> where
V::InstanceFp: Clone,
[src]
impl<V: Clone + FunctionPointers> Clone for Instance<V> where
V::InstanceFp: Clone,
fn clone(&self) -> Instance<V>
[src]
fn clone(&self) -> Instance<V>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl InstanceV1_0 for Instance<V1_0>
[src]
impl InstanceV1_0 for Instance<V1_0>
type Fp = V1_0
fn handle(&self) -> Instance
[src]
fn handle(&self) -> Instance
fn fp_v1_0(&self) -> &InstanceFnV1_0
[src]
fn fp_v1_0(&self) -> &InstanceFnV1_0
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Device<Self::Fp>, DeviceError>
[src]
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Device<Self::Fp>, DeviceError>
fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
[src]
fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
unsafe fn destroy_instance(
&self,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
unsafe fn destroy_instance(
&self,
allocation_callbacks: Option<&AllocationCallbacks>
)
fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
[src]
fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
typ: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags
) -> VkResult<ImageFormatProperties>
[src]
fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
typ: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags
) -> VkResult<ImageFormatProperties>
fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
[src]
fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
[src]
fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
[src]
fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
[src]
fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>>
[src]
fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>>
fn enumerate_device_extension_properties(
&self,
device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result>
[src]
fn enumerate_device_extension_properties(
&self,
device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result>
Auto Trait Implementations
impl<V> Send for Instance<V> where
<V as FunctionPointers>::InstanceFp: Send,
impl<V> Send for Instance<V> where
<V as FunctionPointers>::InstanceFp: Send,
impl<V> Sync for Instance<V> where
<V as FunctionPointers>::InstanceFp: Sync,
impl<V> Sync for Instance<V> where
<V as FunctionPointers>::InstanceFp: Sync,