1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! High level GPU memory allocators.
//!
//! In contrast to the buffer pools in [`crate::wgpu_resources`], every allocator in here
//! follows some more complex strategy for efficient re-use and sub-allocation of wgpu resources.

mod cpu_write_gpu_read_belt;
mod data_texture_source;
mod gpu_readback_belt;
mod uniform_buffer_fill;

pub use cpu_write_gpu_read_belt::{
    CpuWriteGpuReadBelt, CpuWriteGpuReadBuffer, CpuWriteGpuReadError,
};
pub use data_texture_source::{DataTextureSource, DataTextureSourceWriteError};
pub use gpu_readback_belt::{
    GpuReadbackBelt, GpuReadbackBuffer, GpuReadbackError, GpuReadbackIdentifier,
};
pub use uniform_buffer_fill::{
    create_and_fill_uniform_buffer, create_and_fill_uniform_buffer_batch,
};