mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
[rs] Reexport Backend and DeviceType from wgpu-core
These types are exposed on the `AdaptorInfo` struct.
This commit is contained in:
1 parent
3cfb78d372
commit
b2e70cc3d3
1 file changed
+2
@@ -17,6 +17,7 @@ use std::slice;
|
||||
use std::thread;
|
||||
|
||||
pub use wgc::{
|
||||
Backend,
|
||||
binding_model::ShaderStage,
|
||||
command::{
|
||||
CommandBufferDescriptor,
|
||||
@@ -31,6 +32,7 @@ pub use wgc::{
|
||||
AdapterInfo,
|
||||
BackendBit,
|
||||
DeviceDescriptor,
|
||||
DeviceType,
|
||||
Extensions,
|
||||
Limits,
|
||||
PowerPreference,
|
||||
|
||||
Reference in new issue
Block a user