#![allow(clippy::module_name_repetitions)]

mod graphics;
pub use graphics::*;

pub mod prelude;

/// Export wgpu crate
pub use wgpu;

pub(crate) mod macros;

/// Public constants
pub const DEFAULT_SWAP_CHAIN_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Bgra8UnormSrgb;
pub_const_flag!(
    QUERYSET_BUFFER_USAGE,
    wgpu::BufferUsages,
    MAP_READ,
    COPY_DST
);

#[cfg(feature = "winit")]
pub mod winit;
pub use crate::winit::*;
