Skip to main content

frust_gpu/import/
mod.rs

1//! Zero-copy texture import — platform buffers (a CVPixelBuffer on Apple, an
2//! AHardwareBuffer on Android) wrapped as `wgpu::Texture`s without a copy, for the
3//! external-texture frame bus (render-model Phase 4, decision D11). Each platform
4//! half lives behind its own `cfg`; this module is empty on every other target.
5//! Each half is filled in by its platform's zero-copy import work.
6
7#[cfg(target_vendor = "apple")]
8pub mod apple;
9
10#[cfg(target_os = "android")]
11pub mod android;