Struct gfx::pso::AccessInfo
[−]
[src]
pub struct AccessInfo<R> where
R: Resources, { /* fields omitted */ }
Informations about what is accessed by a bunch of commands.
Methods
impl<R> AccessInfo<R> where
R: Resources,
[src]
R: Resources,
fn new() -> AccessInfo<R>
[src]
Creates empty access informations
fn clear(&mut self)
[src]
Clear access informations
fn buffer_read(&mut self, buffer: &RawBuffer<R>)
[src]
Register a buffer read access
fn buffer_write(&mut self, buffer: &RawBuffer<R>)
[src]
Register a buffer write access
fn mapped_reads(&self) -> Iter<RawBuffer<R>>
[src]
Returns the mapped buffers that The GPU will read from
fn mapped_writes(&self) -> Iter<RawBuffer<R>>
[src]
Returns the mapped buffers that The GPU will write to
fn has_mapped_reads(&self) -> bool
[src]
Is there any mapped buffer reads ?
fn has_mapped_writes(&self) -> bool
[src]
Is there any mapped buffer writes ?
fn take_accesses(&self) -> Result<AccessGuard<R>, SubmissionError>
[src]
Takes all the accesses necessary for submission
Trait Implementations
impl<R> Clone for AccessInfo<R> where
R: Resources + Clone,
[src]
R: Resources + Clone,
fn clone(&self) -> AccessInfo<R>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<R> PartialEq<AccessInfo<R>> for AccessInfo<R> where
R: Resources + PartialEq<R>,
[src]
R: Resources + PartialEq<R>,
fn eq(&self, __arg_0: &AccessInfo<R>) -> bool
[src]
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
[src]
This method tests for !=
.
impl<R> Debug for AccessInfo<R> where
R: Resources + Debug,
[src]
R: Resources + Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<R> Eq for AccessInfo<R> where
R: Resources + Eq,
[src]
R: Resources + Eq,