Struct 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

The query to use.

wait

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

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

Trait Implementations

Derived Implementations

impl<'a> Clone for ConditionalRendering<'a>

fn clone(&self) -> ConditionalRendering<'a>

fn clone_from(&mut self, source: &Self)

impl<'a> Copy for ConditionalRendering<'a>

impl<'a> Debug for ConditionalRendering<'a>

fn fmt(&self, __arg_0: &mut Formatter) -> Result