MCPcopy Create free account
hub / github.com/evilsocket/cake / BufferPool

Class BufferPool

cake-core/src/backends/vulkan/mod.rs:75–77  ·  view source on GitHub ↗

Power-of-2 buffer pool for output and activation buffers.

Source from the content-addressed store, hash-verified

73
74/// Power-of-2 buffer pool for output and activation buffers.
75struct BufferPool {
76 free: HashMap<u64, Vec<MappedBuffer>>,
77}
78
79impl BufferPool {
80 fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected