bevy_dmabuf/lib.rs
1use std::ffi::CStr;
2
3pub mod wgpu_init;
4// pub mod export;
5pub mod dmatex;
6pub mod format_mapping;
7pub mod import;
8
9pub fn required_device_extensions() -> Vec<&'static CStr> {
10 vec![
11 ash::ext::image_drm_format_modifier::NAME,
12 ash::ext::external_memory_dma_buf::NAME,
13 ash::khr::external_memory_fd::NAME,
14 ash::khr::external_memory::NAME,
15 ash::khr::swapchain::NAME,
16 ]
17}