Struct ash::extensions::khr::Display
source · pub struct Display { /* private fields */ }
Implementations§
source§impl Display
impl Display
pub fn new(entry: &Entry, instance: &Instance) -> Self
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>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrDisplayFn
pub fn instance(&self) -> Instance
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Display
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin for Display
impl UnwindSafe for Display
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