Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - bevy_render: Use RenderDevice to get limits/features and expose AdapterInfo #3931

Closed
wants to merge 8 commits into from
Prev Previous commit
Next Next commit
bevy_render: Add module-level doc about where to get adapter/device i…
…nformation
  • Loading branch information
superdump committed Feb 14, 2022
commit 2e5ca20491817daa9b6afa9aa4c7e87924e3d9fc
4 changes: 4 additions & 0 deletions crates/bevy_internal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ pub mod pbr {
#[cfg(feature = "bevy_render")]
pub mod render {
//! Cameras, meshes, textures, shaders, and pipelines.
//! Use [`RenderDevice::features`](bevy_render::renderer::RenderDevice::features),
//! [`RenderDevice::limits`](bevy_render::renderer::RenderDevice::limits), and the
//! [`WgpuAdapterInfo`](bevy_render::render_resource::WgpuAdapterInfo) resource to
//! get runtime information about the actual adapter, backend, features, and limits.
pub use bevy_render::*;
}

Expand Down