Struct gfx_core::command::AccessGuard [−][src]
pub struct AccessGuard<'a, R: Resources> { /* fields omitted */ }
Implementations
impl<'a, R: Resources> AccessGuard<'a, R>
[src]
pub fn access_mapped_reads(&mut self) -> AccessGuardBuffers<'_, R>ⓘNotable traits for AccessGuardBuffers<'a, R>
impl<'a, R: Resources> Iterator for AccessGuardBuffers<'a, R> type Item = (&'a RawBuffer<R>, &'a mut R::Mapping);
[src]
Notable traits for AccessGuardBuffers<'a, R>
impl<'a, R: Resources> Iterator for AccessGuardBuffers<'a, R> type Item = (&'a RawBuffer<R>, &'a mut R::Mapping);
Returns the mapped buffers that The GPU will read from, with exclusive acces to their mapping
pub fn access_mapped_writes(&mut self) -> AccessGuardBuffers<'_, R>ⓘNotable traits for AccessGuardBuffers<'a, R>
impl<'a, R: Resources> Iterator for AccessGuardBuffers<'a, R> type Item = (&'a RawBuffer<R>, &'a mut R::Mapping);
[src]
Notable traits for AccessGuardBuffers<'a, R>
impl<'a, R: Resources> Iterator for AccessGuardBuffers<'a, R> type Item = (&'a RawBuffer<R>, &'a mut R::Mapping);
Returns the mapped buffers that The GPU will write to, with exclusive acces to their mapping
pub fn access_mapped(&mut self) -> AccessGuardBuffersChain<'_, R>ⓘNotable traits for AccessGuardBuffersChain<'a, R>
impl<'a, R: Resources> Iterator for AccessGuardBuffersChain<'a, R> type Item = (&'a RawBuffer<R>, &'a mut R::Mapping);
[src]
Notable traits for AccessGuardBuffersChain<'a, R>
impl<'a, R: Resources> Iterator for AccessGuardBuffersChain<'a, R> type Item = (&'a RawBuffer<R>, &'a mut R::Mapping);
Methods from Deref<Target = AccessInfo<R>>
pub fn mapped_reads(&self) -> AccessInfoBuffers<'_, R>
[src]
Returns the mapped buffers that The GPU will read from
pub fn mapped_writes(&self) -> AccessInfoBuffers<'_, R>
[src]
Returns the mapped buffers that The GPU will write to
pub fn has_mapped_reads(&self) -> bool
[src]
Is there any mapped buffer reads ?
pub fn has_mapped_writes(&self) -> bool
[src]
Is there any mapped buffer writes ?
pub fn take_accesses(&self) -> SubmissionResult<AccessGuard<'_, R>>
[src]
Takes all the accesses necessary for submission
Trait Implementations
impl<'a, R: Debug + Resources> Debug for AccessGuard<'a, R>
[src]
impl<'a, R: Resources> Deref for AccessGuard<'a, R>
[src]
type Target = AccessInfo<R>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'a, R: Resources> Drop for AccessGuard<'a, R>
[src]
Auto Trait Implementations
impl<'a, R> !RefUnwindSafe for AccessGuard<'a, R>
impl<'a, R> Send for AccessGuard<'a, R>
impl<'a, R> Sync for AccessGuard<'a, R>
impl<'a, R> Unpin for AccessGuard<'a, R>
impl<'a, R> !UnwindSafe for AccessGuard<'a, R>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,