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. |