Crate vulkano_win
source ·Expand description
Cargo features
Feature | Description |
---|---|
raw_window_handle | Include support for the raw_window_handle library. Enabled by default. |
winit | Include support for the winit library. Enabled by default. |
Enums
- Error that can happen when creating a window.
Traits
Functions
- Creates a Vulkan surface from a generic window which implements
HasRawWindowHandle
and thus can reveal the OS-dependent handle. - Creates a Vulkan surface from a generic window which implements
HasRawWindowHandle
and thus can reveal the OS-dependent handle, without ensuring that the window outlives the surface. - Create a surface from a Winit window or a reference to it. The surface takes
W
to prevent it from being dropped before the surface. - Creates a
Win32Monitor
from a Winit monitor handle.