Struct sierra::BufferRangeState [−][src]
pub struct BufferRangeState { pub range: BufferRange, pub access: AccessFlags, pub stages: PipelineStageFlags, pub family: Ownership, }
Expand description
Buffer range with access mask, specifying how it may be accessed “before”.
Note that “before” is loosely defined, as whatever previous owners do. Which should be translated to “earlier GPU operations” but this crate doesn’t attempt to enforce that.
Fields
range: BufferRange
access: AccessFlags
stages: PipelineStageFlags
family: Ownership
Implementations
pub fn access<'a>(
&'a mut self,
access: AccessFlags,
stages: PipelineStageFlags,
queue: QueueId,
encoder: &mut Encoder<'a>
) -> &'a BufferRange
pub fn access<'a>(
&'a mut self,
access: AccessFlags,
stages: PipelineStageFlags,
queue: QueueId,
encoder: &mut Encoder<'a>
) -> &'a BufferRange
pub fn overwrite<'a>(
&'a mut self,
access: AccessFlags,
stages: PipelineStageFlags,
queue: QueueId,
encoder: &mut Encoder<'a>
) -> &'a BufferRange
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for BufferRangeState
impl Send for BufferRangeState
impl Sync for BufferRangeState
impl Unpin for BufferRangeState
impl !UnwindSafe for BufferRangeState
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more