pub struct Storage {
pub modules: HashMap<&'static str, ShaderModule>,
pub buffers: HashMap<&'static str, Buffer>,
pub textures: HashMap<&'static str, Texture>,
pub texture_views: HashMap<&'static str, TextureView>,
pub samplers: HashMap<&'static str, Sampler>,
pub bind_groups: HashMap<&'static str, BindGroup>,
pub bind_group_layouts: HashMap<&'static str, BindGroupLayout>,
pub compute_pipelines: HashMap<&'static str, ComputePipeline>,
pub render_pipelines: HashMap<&'static str, RenderPipeline>,
pub staging_buffers: HashMap<&'static str, Buffer>,
pub staging_senders: HashMap<&'static str, Sender<Result<(), BufferAsyncError>>>,
pub staging_receivers: HashMap<&'static str, Receiver<Result<(), BufferAsyncError>>>,
}Fields§
§modules: HashMap<&'static str, ShaderModule>§buffers: HashMap<&'static str, Buffer>§textures: HashMap<&'static str, Texture>§texture_views: HashMap<&'static str, TextureView>§samplers: HashMap<&'static str, Sampler>§bind_groups: HashMap<&'static str, BindGroup>§bind_group_layouts: HashMap<&'static str, BindGroupLayout>§compute_pipelines: HashMap<&'static str, ComputePipeline>§render_pipelines: HashMap<&'static str, RenderPipeline>§staging_buffers: HashMap<&'static str, Buffer>§staging_senders: HashMap<&'static str, Sender<Result<(), BufferAsyncError>>>§staging_receivers: HashMap<&'static str, Receiver<Result<(), BufferAsyncError>>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Storage
impl !RefUnwindSafe for Storage
impl Send for Storage
impl Sync for Storage
impl Unpin for Storage
impl !UnwindSafe for Storage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more