Struct nannou::ui::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

The query to use.

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.

If true, only samples that match those that were written with the query active will be drawn.

Trait Implementations

impl<'a> Copy for ConditionalRendering<'a>
[src]

impl<'a> Clone for ConditionalRendering<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ConditionalRendering<'a>
[src]

[src]

Formats the value using the given formatter.