1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Resource managers are concerned with mapping (typically) higher level user data to
//! their Gpu representation.
//!
//! They facilitate fast & easy gpu upload and resource usage.
//!
//! This is in contrast to the pools in `crate::wgpu_resources` which are exclusively concerned with
//! low level gpu resources and their efficient allocation.

mod image_data_to_texture;
mod texture_manager;
mod yuv_converter;

pub use image_data_to_texture::{
    transfer_image_data_to_texture, ImageDataDesc, ImageDataToTextureError, SourceImageDataFormat,
};
pub use texture_manager::{GpuTexture2D, TextureManager2D, TextureManager2DError};
pub use yuv_converter::{YuvMatrixCoefficients, YuvPixelLayout, YuvRange};