pub struct Instance {
pub(crate) fp: InstanceFn,
pub(crate) handle: Instance,
}
Expand description
VK_KHR_display instance-level functions
Fields§
§fp: InstanceFn
§handle: Instance
Implementations§
source§impl Instance
impl Instance
sourcepub unsafe fn get_physical_device_display_properties(
&self,
physical_device: PhysicalDevice,
) -> VkResult<Vec<DisplayPropertiesKHR<'_>>>
pub unsafe fn get_physical_device_display_properties( &self, physical_device: PhysicalDevice, ) -> VkResult<Vec<DisplayPropertiesKHR<'_>>>
sourcepub unsafe fn get_physical_device_display_plane_properties(
&self,
physical_device: PhysicalDevice,
) -> VkResult<Vec<DisplayPlanePropertiesKHR>>
pub unsafe fn get_physical_device_display_plane_properties( &self, physical_device: PhysicalDevice, ) -> VkResult<Vec<DisplayPlanePropertiesKHR>>
sourcepub unsafe fn get_display_plane_supported_displays(
&self,
physical_device: PhysicalDevice,
plane_index: u32,
) -> VkResult<Vec<DisplayKHR>>
pub unsafe fn get_display_plane_supported_displays( &self, physical_device: PhysicalDevice, plane_index: u32, ) -> VkResult<Vec<DisplayKHR>>
sourcepub unsafe fn get_display_mode_properties(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
) -> VkResult<Vec<DisplayModePropertiesKHR>>
pub unsafe fn get_display_mode_properties( &self, physical_device: PhysicalDevice, display: DisplayKHR, ) -> VkResult<Vec<DisplayModePropertiesKHR>>
sourcepub unsafe fn create_display_mode(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<DisplayModeKHR>
pub unsafe fn create_display_mode( &self, physical_device: PhysicalDevice, display: DisplayKHR, create_info: &DisplayModeCreateInfoKHR<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<DisplayModeKHR>
sourcepub unsafe fn get_display_plane_capabilities(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32,
) -> VkResult<DisplayPlaneCapabilitiesKHR>
pub unsafe fn get_display_plane_capabilities( &self, physical_device: PhysicalDevice, mode: DisplayModeKHR, plane_index: u32, ) -> VkResult<DisplayPlaneCapabilitiesKHR>
sourcepub unsafe fn create_display_plane_surface(
&self,
create_info: &DisplaySurfaceCreateInfoKHR<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<SurfaceKHR>
pub unsafe fn create_display_plane_surface( &self, create_info: &DisplaySurfaceCreateInfoKHR<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<SurfaceKHR>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)