Struct wgpu_core::device::life::NonReferencedResources
source · struct NonReferencedResources<A: Api> {
buffers: Vec<A::Buffer>,
textures: Vec<A::Texture>,
texture_views: Vec<A::TextureView>,
samplers: Vec<A::Sampler>,
bind_groups: Vec<A::BindGroup>,
compute_pipes: Vec<A::ComputePipeline>,
render_pipes: Vec<A::RenderPipeline>,
bind_group_layouts: Vec<A::BindGroupLayout>,
pipeline_layouts: Vec<A::PipelineLayout>,
query_sets: Vec<A::QuerySet>,
}
Expand description
Raw backend resources that should be freed shortly.
Fields§
§buffers: Vec<A::Buffer>
§textures: Vec<A::Texture>
§texture_views: Vec<A::TextureView>
§samplers: Vec<A::Sampler>
§bind_groups: Vec<A::BindGroup>
§compute_pipes: Vec<A::ComputePipeline>
§render_pipes: Vec<A::RenderPipeline>
§bind_group_layouts: Vec<A::BindGroupLayout>
§pipeline_layouts: Vec<A::PipelineLayout>
§query_sets: Vec<A::QuerySet>
Implementations§
Trait Implementations§
source§impl<A: Debug + Api> Debug for NonReferencedResources<A>where
A::Buffer: Debug,
A::Texture: Debug,
A::TextureView: Debug,
A::Sampler: Debug,
A::BindGroup: Debug,
A::ComputePipeline: Debug,
A::RenderPipeline: Debug,
A::BindGroupLayout: Debug,
A::PipelineLayout: Debug,
A::QuerySet: Debug,
impl<A: Debug + Api> Debug for NonReferencedResources<A>where A::Buffer: Debug, A::Texture: Debug, A::TextureView: Debug, A::Sampler: Debug, A::BindGroup: Debug, A::ComputePipeline: Debug, A::RenderPipeline: Debug, A::BindGroupLayout: Debug, A::PipelineLayout: Debug, A::QuerySet: Debug,
Auto Trait Implementations§
impl<A> RefUnwindSafe for NonReferencedResources<A>where <A as Api>::BindGroup: RefUnwindSafe, <A as Api>::BindGroupLayout: RefUnwindSafe, <A as Api>::Buffer: RefUnwindSafe, <A as Api>::ComputePipeline: RefUnwindSafe, <A as Api>::PipelineLayout: RefUnwindSafe, <A as Api>::QuerySet: RefUnwindSafe, <A as Api>::RenderPipeline: RefUnwindSafe, <A as Api>::Sampler: RefUnwindSafe, <A as Api>::Texture: RefUnwindSafe, <A as Api>::TextureView: RefUnwindSafe,
impl<A> Send for NonReferencedResources<A>
impl<A> Sync for NonReferencedResources<A>
impl<A> Unpin for NonReferencedResources<A>where <A as Api>::BindGroup: Unpin, <A as Api>::BindGroupLayout: Unpin, <A as Api>::Buffer: Unpin, <A as Api>::ComputePipeline: Unpin, <A as Api>::PipelineLayout: Unpin, <A as Api>::QuerySet: Unpin, <A as Api>::RenderPipeline: Unpin, <A as Api>::Sampler: Unpin, <A as Api>::Texture: Unpin, <A as Api>::TextureView: Unpin,
impl<A> UnwindSafe for NonReferencedResources<A>where <A as Api>::BindGroup: UnwindSafe, <A as Api>::BindGroupLayout: UnwindSafe, <A as Api>::Buffer: UnwindSafe, <A as Api>::ComputePipeline: UnwindSafe, <A as Api>::PipelineLayout: UnwindSafe, <A as Api>::QuerySet: UnwindSafe, <A as Api>::RenderPipeline: UnwindSafe, <A as Api>::Sampler: UnwindSafe, <A as Api>::Texture: UnwindSafe, <A as Api>::TextureView: UnwindSafe,
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