Struct gfx_core::command::AccessInfo
[−]
[src]
pub struct AccessInfo<R: Resources> { /* fields omitted */ }
Informations about what is accessed by a bunch of commands.
Methods
impl<R: Resources> AccessInfo<R>
[src]
fn new() -> Self
Creates empty access informations
fn clear(&mut self)
Clear access informations
fn buffer_read(&mut self, buffer: &RawBuffer<R>)
Register a buffer read access
fn buffer_write(&mut self, buffer: &RawBuffer<R>)
Register a buffer write access
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<R: Clone + Resources> Clone for AccessInfo<R>
[src]
fn clone(&self) -> AccessInfo<R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<R: Debug + Resources> Debug for AccessInfo<R>
[src]
impl<R: Eq + Resources> Eq for AccessInfo<R>
[src]
impl<R: PartialEq + Resources> PartialEq for AccessInfo<R>
[src]
fn eq(&self, __arg_0: &AccessInfo<R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AccessInfo<R>) -> bool
This method tests for !=
.