[][src]Struct gfx_core::command::AccessGuard

pub struct AccessGuard<'a, R: Resources> { /* fields omitted */ }

Methods

impl<'a, R: Resources> AccessGuard<'a, R>[src]

Important traits for AccessGuardBuffers<'a, R>
pub fn access_mapped_reads(&mut self) -> AccessGuardBuffers<R>[src]

Returns the mapped buffers that The GPU will read from, with exclusive acces to their mapping

Important traits for AccessGuardBuffers<'a, R>
pub fn access_mapped_writes(&mut self) -> AccessGuardBuffers<R>[src]

Returns the mapped buffers that The GPU will write to, with exclusive acces to their mapping

Important traits for AccessGuardBuffersChain<'a, R>
pub fn access_mapped(&mut self) -> AccessGuardBuffersChain<R>[src]

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: Resources> Drop for AccessGuard<'a, R>[src]

impl<'a, R: Resources> Deref for AccessGuard<'a, R>[src]

type Target = AccessInfo<R>

The resulting type after dereferencing.

impl<'a, R: Debug + Resources> Debug for AccessGuard<'a, R>[src]

Auto Trait Implementations

impl<'a, R> Send for AccessGuard<'a, R> where
    <R as Resources>::Buffer: Send + Sync,
    <R as Resources>::Mapping: Send

impl<'a, R> Sync for AccessGuard<'a, R> where
    <R as Resources>::Buffer: Send + Sync,
    <R as Resources>::Mapping: Send

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]