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]
impl<R: Resources> AccessInfo<R>pub fn new() -> Self[src]
pub fn new() -> SelfCreates empty access informations
pub fn clear(&mut self)[src]
pub fn clear(&mut self)Clear access informations
pub fn buffer_read(&mut self, buffer: &RawBuffer<R>)[src]
pub fn buffer_read(&mut self, buffer: &RawBuffer<R>)Register a buffer read access
pub fn buffer_write(&mut self, buffer: &RawBuffer<R>)[src]
pub fn buffer_write(&mut self, buffer: &RawBuffer<R>)Register a buffer write access
pub fn mapped_reads(&self) -> AccessInfoBuffers<R>[src]
pub fn mapped_reads(&self) -> AccessInfoBuffers<R>Returns the mapped buffers that The GPU will read from
pub fn mapped_writes(&self) -> AccessInfoBuffers<R>[src]
pub fn mapped_writes(&self) -> AccessInfoBuffers<R>Returns the mapped buffers that The GPU will write to
pub fn has_mapped_reads(&self) -> bool[src]
pub fn has_mapped_reads(&self) -> boolIs there any mapped buffer reads ?
pub fn has_mapped_writes(&self) -> bool[src]
pub fn has_mapped_writes(&self) -> boolIs there any mapped buffer writes ?
pub fn take_accesses(&self) -> SubmissionResult<AccessGuard<R>>[src]
pub 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]
impl<R: Clone + Resources> Clone for AccessInfo<R>fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<R: Debug + Resources> Debug for AccessInfo<R>[src]
impl<R: Debug + Resources> Debug for AccessInfo<R>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<R: Eq + Resources> Eq for AccessInfo<R>[src]
impl<R: Eq + Resources> Eq for AccessInfo<R>impl<R: PartialEq + Resources> PartialEq for AccessInfo<R>[src]
impl<R: PartialEq + Resources> PartialEq for AccessInfo<R>fn eq(&self, other: &AccessInfo<R>) -> bool[src]
fn eq(&self, other: &AccessInfo<R>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AccessInfo<R>) -> bool[src]
fn ne(&self, other: &AccessInfo<R>) -> boolThis method tests for !=.