pub struct Instance {
pub(crate) fp: InstanceFn,
pub(crate) handle: Instance,
}
Expand description
VK_KHR_surface instance-level functions
Fields§
§fp: InstanceFn
§handle: Instance
Implementations§
source§impl Instance
impl Instance
sourcepub unsafe fn get_physical_device_surface_support(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
surface: SurfaceKHR,
) -> VkResult<bool>
pub unsafe fn get_physical_device_surface_support( &self, physical_device: PhysicalDevice, queue_family_index: u32, surface: SurfaceKHR, ) -> VkResult<bool>
sourcepub unsafe fn get_physical_device_surface_present_modes(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
) -> VkResult<Vec<PresentModeKHR>>
pub unsafe fn get_physical_device_surface_present_modes( &self, physical_device: PhysicalDevice, surface: SurfaceKHR, ) -> VkResult<Vec<PresentModeKHR>>
sourcepub unsafe fn get_physical_device_surface_capabilities(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
) -> VkResult<SurfaceCapabilitiesKHR>
pub unsafe fn get_physical_device_surface_capabilities( &self, physical_device: PhysicalDevice, surface: SurfaceKHR, ) -> VkResult<SurfaceCapabilitiesKHR>
sourcepub unsafe fn get_physical_device_surface_formats(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
) -> VkResult<Vec<SurfaceFormatKHR>>
pub unsafe fn get_physical_device_surface_formats( &self, physical_device: PhysicalDevice, surface: SurfaceKHR, ) -> VkResult<Vec<SurfaceFormatKHR>>
sourcepub unsafe fn destroy_surface(
&self,
surface: SurfaceKHR,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_surface( &self, surface: SurfaceKHR, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
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