pub struct Storage { /* private fields */ }
wgpu
only.Expand description
Stores custom, user-provided pipelines.
Implementations§
source§impl Storage
impl Storage
sourcepub fn has<T>(&self) -> boolwhere
T: 'static,
pub fn has<T>(&self) -> boolwhere
T: 'static,
Returns true
if Storage
contains a pipeline with type T
.
sourcepub fn store<T>(&mut self, pipeline: T)where
- T: 'static,
pub fn store<T>(&mut self, pipeline: T)where
- T: 'static,
Inserts the pipeline T
in to Storage
.