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§

source

const METADATA: Extension = EXT_DISPLAY_CONTROL_EXTENSION

The metadata for this extension.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§