pub struct PipelineResources {
pub layout: BindingLayoutSource,
pub minimum_binding_sizes: FastHashMap<ResourceBinding, BufferSize>,
pub immediates: ImmediateUsage,
}Expand description
Resource usage accumulated across all of a pipeline’s stages.
Fields§
§layout: BindingLayoutSource§minimum_binding_sizes: FastHashMap<ResourceBinding, BufferSize>§immediates: ImmediateUsageImplementations§
Source§impl PipelineResources
impl PipelineResources
pub fn new(layout: BindingLayoutSource) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for PipelineResources
impl !UnwindSafe for PipelineResources
impl Forget for PipelineResources
impl Freeze for PipelineResourceswhere
*const ArrayVec<EntryMap, 8> is !null: Freeze,
PhantomData<ArrayVec<EntryMap, 8>>: Freeze,
*const ArcInner<PipelineLayout> is !null: Freeze,
PhantomData<ArcInner<PipelineLayout>>: Freeze,
PhantomData<fn() -> FxHasher>: Freeze,
*const u8 is !null: Freeze,
PhantomData<(ResourceBinding, NonZero<u64>)>: Freeze,
impl Move for PipelineResources
impl Send for PipelineResourceswhere
BoxRaw<ArrayVec<EntryMap, 8>>: Send,
Arc<PipelineLayout>: Send,
RawTable<(ResourceBinding, NonZero<u64>)>: Send,
impl Sync for PipelineResourceswhere
BoxRaw<ArrayVec<EntryMap, 8>>: Sync,
Arc<PipelineLayout>: Sync,
RawTable<(ResourceBinding, NonZero<u64>)>: Sync,
impl Unpin for PipelineResources
impl UnsafeUnpin for PipelineResourceswhere
*const ArrayVec<EntryMap, 8> is !null: UnsafeUnpin,
PhantomData<ArrayVec<EntryMap, 8>>: UnsafeUnpin,
*const ArcInner<PipelineLayout> is !null: UnsafeUnpin,
PhantomData<ArcInner<PipelineLayout>>: UnsafeUnpin,
PhantomData<fn() -> FxHasher>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(ResourceBinding, NonZero<u64>)>: UnsafeUnpin,
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