mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
23 lines
324 B
Rust
23 lines
324 B
Rust
use hal;
|
|
|
|
|
|
pub type BufferUsage = hal::buffer::Usage;
|
|
|
|
#[repr(C)]
|
|
pub struct BufferDescriptor {
|
|
pub size: u64,
|
|
pub usage: BufferUsage,
|
|
}
|
|
|
|
#[repr(C)]
|
|
pub struct CommandBufferDescriptor {
|
|
}
|
|
|
|
pub struct Device<B: hal::Backend> {
|
|
pub raw: B::Device,
|
|
}
|
|
|
|
pub struct Buffer<B: hal::Backend> {
|
|
pub raw: B::Buffer,
|
|
}
|