Trait vulkanalia::vk::ExtDisplayControlExtension
source · pub trait ExtDisplayControlExtension: DeviceV1_0 {
const METADATA: Extension = EXT_DISPLAY_CONTROL_EXTENSION;
// Provided methods
unsafe fn display_power_control_ext(
&self,
display: DisplayKHR,
display_power_info: &DisplayPowerInfoEXT
) -> VkResult<()> { ... }
unsafe fn get_swapchain_counter_ext(
&self,
swapchain: SwapchainKHR,
counter: SurfaceCounterFlagsEXT
) -> VkResult<u64> { ... }
unsafe fn register_device_event_ext(
&self,
device_event_info: &DeviceEventInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence> { ... }
unsafe fn register_display_event_ext(
&self,
display: DisplayKHR,
display_event_info: &DisplayEventInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence> { ... }
}
Expand description
Provided Associated Constants§
Provided Methods§
sourceunsafe fn display_power_control_ext(
&self,
display: DisplayKHR,
display_power_info: &DisplayPowerInfoEXT
) -> VkResult<()>
unsafe fn display_power_control_ext( &self, display: DisplayKHR, display_power_info: &DisplayPowerInfoEXT ) -> VkResult<()>
sourceunsafe fn get_swapchain_counter_ext(
&self,
swapchain: SwapchainKHR,
counter: SurfaceCounterFlagsEXT
) -> VkResult<u64>
unsafe fn get_swapchain_counter_ext( &self, swapchain: SwapchainKHR, counter: SurfaceCounterFlagsEXT ) -> VkResult<u64>
sourceunsafe fn register_device_event_ext(
&self,
device_event_info: &DeviceEventInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn register_device_event_ext( &self, device_event_info: &DeviceEventInfoEXT, allocator: Option<&AllocationCallbacks> ) -> VkResult<Fence>
sourceunsafe fn register_display_event_ext(
&self,
display: DisplayKHR,
display_event_info: &DisplayEventInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn register_display_event_ext( &self, display: DisplayKHR, display_event_info: &DisplayEventInfoEXT, allocator: Option<&AllocationCallbacks> ) -> VkResult<Fence>
Object Safety§
This trait is not object safe.