Expose private resource until we have multi-stage asset-loading.

This commit is contained in:
Nolan Darilek 2021-04-09 13:19:48 -05:00
parent d102012712
commit 37bc104be1

View File

@ -101,8 +101,9 @@ impl AssetLoader for BufferAssetLoader {
}
}
// TODO: Make non-public when we have multi-stage asset loading.
#[derive(Default)]
struct Buffers(HashMap<HandleId, Arc<alto::Buffer>>);
pub struct Buffers(pub HashMap<HandleId, Arc<alto::Buffer>>);
fn buffer_creation(
context: Res<Context>,