Add comment

This commit is contained in:
Maximilian Ammann 2022-01-01 16:55:25 +01:00
parent 5cde7afe27
commit 1344e1bb99

View File

@ -25,6 +25,8 @@ impl Queue<wgpu::Buffer> for wgpu::Queue {
}
}
/// This is inspired by the memory pool in Vulkan documented
/// [here](https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/custom_memory_pools.html).
#[derive(Debug)]
pub struct BufferPool<Q, B, V, I> {
vertices: BackingBuffer<B>,