Struct conrod::backend::glium::glium::draw_parameters::ConditionalRendering [−][src]
pub struct ConditionalRendering<'a> { pub query: SamplesQueryParam<'a>, pub wait: bool, pub per_region: bool, }
Condition whether to render or not.
Fields
query: SamplesQueryParam<'a>
The query to use.
wait: bool
If true, the GPU will wait until the query result has been obtained. If false, the GPU is free to ignore the query and draw anyway.
per_region: bool
If true, only samples that match those that were written with the query active will be drawn.
Trait Implementations
impl<'a> Clone for ConditionalRendering<'a>
[src]
impl<'a> Clone for ConditionalRendering<'a>
fn clone(&self) -> ConditionalRendering<'a>
[src]
fn clone(&self) -> ConditionalRendering<'a>
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<'a> Debug for ConditionalRendering<'a>
[src]
impl<'a> Debug for ConditionalRendering<'a>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'a> Copy for ConditionalRendering<'a>
[src]
impl<'a> Copy for ConditionalRendering<'a>
Auto Trait Implementations
impl<'a> !Send for ConditionalRendering<'a>
impl<'a> !Send for ConditionalRendering<'a>
impl<'a> !Sync for ConditionalRendering<'a>
impl<'a> !Sync for ConditionalRendering<'a>