pub struct Instance {
pub(crate) fp: InstanceFn,
pub(crate) handle: Instance,
}
Expand description
VK_KHR_get_physical_device_properties2 instance-level functions
Fields§
§fp: InstanceFn
§handle: Instance
Implementations§
source§impl Instance
impl Instance
sourcepub unsafe fn get_physical_device_features2(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2KHR<'_>,
)
pub unsafe fn get_physical_device_features2( &self, physical_device: PhysicalDevice, features: &mut PhysicalDeviceFeatures2KHR<'_>, )
sourcepub unsafe fn get_physical_device_format_properties2(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2KHR<'_>,
)
pub unsafe fn get_physical_device_format_properties2( &self, physical_device: PhysicalDevice, format: Format, format_properties: &mut FormatProperties2KHR<'_>, )
sourcepub unsafe fn get_physical_device_image_format_properties2(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2KHR<'_>,
image_format_properties: &mut ImageFormatProperties2KHR<'_>,
) -> VkResult<()>
pub unsafe fn get_physical_device_image_format_properties2( &self, physical_device: PhysicalDevice, image_format_info: &PhysicalDeviceImageFormatInfo2KHR<'_>, image_format_properties: &mut ImageFormatProperties2KHR<'_>, ) -> VkResult<()>
sourcepub unsafe fn get_physical_device_memory_properties2(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2KHR<'_>,
)
pub unsafe fn get_physical_device_memory_properties2( &self, physical_device: PhysicalDevice, memory_properties: &mut PhysicalDeviceMemoryProperties2KHR<'_>, )
sourcepub unsafe fn get_physical_device_properties2(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2KHR<'_>,
)
pub unsafe fn get_physical_device_properties2( &self, physical_device: PhysicalDevice, properties: &mut PhysicalDeviceProperties2KHR<'_>, )
sourcepub unsafe fn get_physical_device_queue_family_properties2_len(
&self,
physical_device: PhysicalDevice,
) -> usize
pub unsafe fn get_physical_device_queue_family_properties2_len( &self, physical_device: PhysicalDevice, ) -> usize
Retrieve the number of elements to pass to get_physical_device_queue_family_properties2()
sourcepub unsafe fn get_physical_device_queue_family_properties2(
&self,
physical_device: PhysicalDevice,
out: &mut [QueueFamilyProperties2KHR<'_>],
)
pub unsafe fn get_physical_device_queue_family_properties2( &self, physical_device: PhysicalDevice, out: &mut [QueueFamilyProperties2KHR<'_>], )
Call get_physical_device_queue_family_properties2_len()
to query the number of elements to pass to out
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
sourcepub unsafe fn get_physical_device_sparse_image_format_properties2_len(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2KHR<'_>,
) -> usize
pub unsafe fn get_physical_device_sparse_image_format_properties2_len( &self, physical_device: PhysicalDevice, format_info: &PhysicalDeviceSparseImageFormatInfo2KHR<'_>, ) -> usize
Retrieve the number of elements to pass to get_physical_device_sparse_image_format_properties2()
sourcepub unsafe fn get_physical_device_sparse_image_format_properties2(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2KHR<'_>,
out: &mut [SparseImageFormatProperties2KHR<'_>],
)
pub unsafe fn get_physical_device_sparse_image_format_properties2( &self, physical_device: PhysicalDevice, format_info: &PhysicalDeviceSparseImageFormatInfo2KHR<'_>, out: &mut [SparseImageFormatProperties2KHR<'_>], )
Call get_physical_device_sparse_image_format_properties2_len()
to query the number of elements to pass to out
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more