mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
In the future `transfer` will want to use the `Arc` versions of these types. I have exported them from `wgpu_core::command::ffi`, to document that these are used for FFI purposes, and from `wgpu_core::command`, for backwards compatibility, although I also change the in-tree uses to use them from `wgpu_types` instead of from `wgpu_core::command`.
8 lines
300 B
Rust
8 lines
300 B
Rust
//! Types that are useful for FFI bindings to `wgpu`.
|
|
|
|
use crate::id;
|
|
|
|
pub type TexelCopyBufferInfo = wgt::TexelCopyBufferInfo<id::BufferId>;
|
|
pub type TexelCopyTextureInfo = wgt::TexelCopyTextureInfo<id::TextureId>;
|
|
pub type CopyExternalImageDestInfo = wgt::CopyExternalImageDestInfo<id::TextureId>;
|