Crate vulkano_win
source ·👎Deprecated since 0.34.0: vulkano-win is deprecated, use
Surface::required_extensions
and Surface::from_window
insteadExpand 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
- CreationErrorDeprecatedError that can happen when creating a window.
Traits
- VkSurfaceBuildDeprecated
Functions
- create_surface_from_handleDeprecatedCreates a Vulkan surface from a generic window which implements
HasRawWindowHandle
and thus can reveal the OS-dependent handle. - create_surface_from_handle_ref⚠DeprecatedCreates 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_surface_from_winitDeprecatedCreate a surface from a Winit window or a reference to it. The surface takes
W
to prevent it from being dropped before the surface. - required_extensionsDeprecated