mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Update Surface documentation (#2412)
* Update Surface documentation * Update Surface documentation * Update vulkano/src/lib.rs Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com> --------- Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
This commit is contained in:
parent
bef7b94aef
commit
d08d9f587d
@ -15,8 +15,13 @@
|
|||||||
//!
|
//!
|
||||||
//! 3. If you intend to show graphics to the user on a window or a screen, create a [`Surface`].
|
//! 3. If you intend to show graphics to the user on a window or a screen, create a [`Surface`].
|
||||||
//! A `Surface` is created from a window identifier or handle, that is specific to the display or
|
//! A `Surface` is created from a window identifier or handle, that is specific to the display or
|
||||||
//! windowing system being used. The [`vulkano-win`] crate, which is part of the Vulkano
|
//! windowing system being used. Vulkano uses `raw-window-handle` to abstract over the different
|
||||||
//! project, can make this step easier.
|
//! windowing systems. Note that you have to make sure that the `raw-window-handle` that your
|
||||||
|
//! windowing library uses is compatible with the `raw-window-handle` that vulkano uses. For
|
||||||
|
//! example, if you use a `winit` version that uses a different version from the one vulkano
|
||||||
|
//! uses, you can add one of the [features](https://docs.rs/crate/winit/latest/features) that
|
||||||
|
//! starts with `rwh` to `winit`. Currently, vulkano is compatible with `rwh_06`.
|
||||||
|
//!
|
||||||
//!
|
//!
|
||||||
//! 4. [Enumerate the physical devices] that are available on the `Instance`, and choose one that
|
//! 4. [Enumerate the physical devices] that are available on the `Instance`, and choose one that
|
||||||
//! is suitable for your program. A [`PhysicalDevice`] represents a Vulkan-capable device that
|
//! is suitable for your program. A [`PhysicalDevice`] represents a Vulkan-capable device that
|
||||||
|
Loading…
Reference in New Issue
Block a user