Struct ash::extensions_generated::khr::get_surface_capabilities2::Instance
source · pub struct Instance {
pub(crate) fp: InstanceFn,
pub(crate) handle: Instance,
}
Expand description
VK_KHR_get_surface_capabilities2 instance-level functions
Fields§
§fp: InstanceFn
§handle: Instance
Implementations§
source§impl Instance
impl Instance
sourcepub unsafe fn get_physical_device_surface_capabilities2(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR<'_>,
surface_capabilities: &mut SurfaceCapabilities2KHR<'_>,
) -> VkResult<()>
pub unsafe fn get_physical_device_surface_capabilities2( &self, physical_device: PhysicalDevice, surface_info: &PhysicalDeviceSurfaceInfo2KHR<'_>, surface_capabilities: &mut SurfaceCapabilities2KHR<'_>, ) -> VkResult<()>
sourcepub unsafe fn get_physical_device_surface_formats2_len(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR<'_>,
) -> VkResult<usize>
pub unsafe fn get_physical_device_surface_formats2_len( &self, physical_device: PhysicalDevice, surface_info: &PhysicalDeviceSurfaceInfo2KHR<'_>, ) -> VkResult<usize>
Retrieve the number of elements to pass to get_physical_device_surface_formats2()
sourcepub unsafe fn get_physical_device_surface_formats2(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR<'_>,
out: &mut [SurfaceFormat2KHR<'_>],
) -> VkResult<()>
pub unsafe fn get_physical_device_surface_formats2( &self, physical_device: PhysicalDevice, surface_info: &PhysicalDeviceSurfaceInfo2KHR<'_>, out: &mut [SurfaceFormat2KHR<'_>], ) -> VkResult<()>
Call get_physical_device_surface_formats2_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