Struct gfx_core::command::AccessGuard
[−]
[src]
pub struct AccessGuard<'a, R: Resources> { /* fields omitted */ }
Methods
impl<'a, R: Resources> AccessGuard<'a, R>
[src]
fn access_mapped_reads(&mut self) -> AccessGuardBuffers<R>
Returns the mapped buffers that The GPU will read from, with exclusive acces to their mapping
fn access_mapped_writes(&mut self) -> AccessGuardBuffers<R>
Returns the mapped buffers that The GPU will write to, with exclusive acces to their mapping
fn access_mapped(&mut self) -> AccessGuardBuffersChain<R>
Methods from Deref<Target = AccessInfo<R>>
fn mapped_reads(&self) -> AccessInfoBuffers<R>
Returns the mapped buffers that The GPU will read from
fn mapped_writes(&self) -> AccessInfoBuffers<R>
Returns the mapped buffers that The GPU will write to
fn has_mapped_reads(&self) -> bool
Is there any mapped buffer reads ?
fn has_mapped_writes(&self) -> bool
Is there any mapped buffer writes ?
fn take_accesses(&self) -> SubmissionResult<AccessGuard<R>>
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
The method called to dereference a value