Struct ash::vk::InstanceFnV1_0
source · [−]pub struct InstanceFnV1_0 {Show 13 fields
pub destroy_instance: PFN_vkDestroyInstance,
pub enumerate_physical_devices: PFN_vkEnumeratePhysicalDevices,
pub get_physical_device_features: PFN_vkGetPhysicalDeviceFeatures,
pub get_physical_device_format_properties: PFN_vkGetPhysicalDeviceFormatProperties,
pub get_physical_device_image_format_properties: PFN_vkGetPhysicalDeviceImageFormatProperties,
pub get_physical_device_properties: PFN_vkGetPhysicalDeviceProperties,
pub get_physical_device_queue_family_properties: PFN_vkGetPhysicalDeviceQueueFamilyProperties,
pub get_physical_device_memory_properties: PFN_vkGetPhysicalDeviceMemoryProperties,
pub get_device_proc_addr: PFN_vkGetDeviceProcAddr,
pub create_device: PFN_vkCreateDevice,
pub enumerate_device_extension_properties: PFN_vkEnumerateDeviceExtensionProperties,
pub enumerate_device_layer_properties: PFN_vkEnumerateDeviceLayerProperties,
pub get_physical_device_sparse_image_format_properties: PFN_vkGetPhysicalDeviceSparseImageFormatProperties,
}
Fields
destroy_instance: PFN_vkDestroyInstance
enumerate_physical_devices: PFN_vkEnumeratePhysicalDevices
get_physical_device_features: PFN_vkGetPhysicalDeviceFeatures
get_physical_device_format_properties: PFN_vkGetPhysicalDeviceFormatProperties
get_physical_device_image_format_properties: PFN_vkGetPhysicalDeviceImageFormatProperties
get_physical_device_properties: PFN_vkGetPhysicalDeviceProperties
get_physical_device_queue_family_properties: PFN_vkGetPhysicalDeviceQueueFamilyProperties
get_physical_device_memory_properties: PFN_vkGetPhysicalDeviceMemoryProperties
get_device_proc_addr: PFN_vkGetDeviceProcAddr
create_device: PFN_vkCreateDevice
enumerate_device_extension_properties: PFN_vkEnumerateDeviceExtensionProperties
enumerate_device_layer_properties: PFN_vkEnumerateDeviceLayerProperties
get_physical_device_sparse_image_format_properties: PFN_vkGetPhysicalDeviceSparseImageFormatProperties
Implementations
sourceimpl InstanceFnV1_0
impl InstanceFnV1_0
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn destroy_instance(
&self,
instance: Instance,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_instance(
&self,
instance: Instance,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn enumerate_physical_devices(
&self,
instance: Instance,
p_physical_device_count: *mut u32,
p_physical_devices: *mut PhysicalDevice
) -> Result
pub unsafe fn enumerate_physical_devices(
&self,
instance: Instance,
p_physical_device_count: *mut u32,
p_physical_devices: *mut PhysicalDevice
) -> Result
sourcepub unsafe fn get_physical_device_features(
&self,
physical_device: PhysicalDevice,
p_features: *mut PhysicalDeviceFeatures
)
pub unsafe fn get_physical_device_features(
&self,
physical_device: PhysicalDevice,
p_features: *mut PhysicalDeviceFeatures
)
sourcepub unsafe fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
p_format_properties: *mut FormatProperties
)
pub unsafe fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
p_format_properties: *mut FormatProperties
)
sourcepub unsafe fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
ty: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
p_image_format_properties: *mut ImageFormatProperties
) -> Result
pub unsafe fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
ty: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
p_image_format_properties: *mut ImageFormatProperties
) -> Result
sourcepub unsafe fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice,
p_properties: *mut PhysicalDeviceProperties
)
pub unsafe fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice,
p_properties: *mut PhysicalDeviceProperties
)
sourcepub unsafe fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice,
p_queue_family_property_count: *mut u32,
p_queue_family_properties: *mut QueueFamilyProperties
)
pub unsafe fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice,
p_queue_family_property_count: *mut u32,
p_queue_family_properties: *mut QueueFamilyProperties
)
sourcepub unsafe fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice,
p_memory_properties: *mut PhysicalDeviceMemoryProperties
)
pub unsafe fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice,
p_memory_properties: *mut PhysicalDeviceMemoryProperties
)
sourcepub unsafe fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
pub unsafe fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
sourcepub unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
p_create_info: *const DeviceCreateInfo,
p_allocator: *const AllocationCallbacks,
p_device: *mut Device
) -> Result
pub unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
p_create_info: *const DeviceCreateInfo,
p_allocator: *const AllocationCallbacks,
p_device: *mut Device
) -> Result
sourcepub unsafe fn enumerate_device_extension_properties(
&self,
physical_device: PhysicalDevice,
p_layer_name: *const c_char,
p_property_count: *mut u32,
p_properties: *mut ExtensionProperties
) -> Result
pub unsafe fn enumerate_device_extension_properties(
&self,
physical_device: PhysicalDevice,
p_layer_name: *const c_char,
p_property_count: *mut u32,
p_properties: *mut ExtensionProperties
) -> Result
sourcepub unsafe fn enumerate_device_layer_properties(
&self,
physical_device: PhysicalDevice,
p_property_count: *mut u32,
p_properties: *mut LayerProperties
) -> Result
pub unsafe fn enumerate_device_layer_properties(
&self,
physical_device: PhysicalDevice,
p_property_count: *mut u32,
p_properties: *mut LayerProperties
) -> Result
sourcepub unsafe fn get_physical_device_sparse_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
ty: ImageType,
samples: SampleCountFlags,
usage: ImageUsageFlags,
tiling: ImageTiling,
p_property_count: *mut u32,
p_properties: *mut SparseImageFormatProperties
)
pub unsafe fn get_physical_device_sparse_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
ty: ImageType,
samples: SampleCountFlags,
usage: ImageUsageFlags,
tiling: ImageTiling,
p_property_count: *mut u32,
p_properties: *mut SparseImageFormatProperties
)
Trait Implementations
sourceimpl Clone for InstanceFnV1_0
impl Clone for InstanceFnV1_0
sourcefn clone(&self) -> InstanceFnV1_0
fn clone(&self) -> InstanceFnV1_0
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Send for InstanceFnV1_0
impl Sync for InstanceFnV1_0
Auto Trait Implementations
impl RefUnwindSafe for InstanceFnV1_0
impl Unpin for InstanceFnV1_0
impl UnwindSafe for InstanceFnV1_0
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more