Struct gfx_scene::Report
[−]
[src]
pub struct Report { pub calls_invisible: Count, pub calls_culled: Count, pub calls_rejected: Count, pub calls_failed: Count, pub calls_passed: Count, pub primitives_rendered: Count, }
Rendering success report.
Fields
calls_invisible: Count
Number of calls in invisible entities.
calls_culled: Count
Number of calls that got culled out.
calls_rejected: Count
Number of calls that the phase doesn't apply to.
calls_failed: Count
Number of calls that failed to link batches.
calls_passed: Count
Number of calls issued to the GPU.
primitives_rendered: Count
Number of primitives rendered.
Methods
impl Report
[src]
fn new() -> Report
Create an empty Report
.
fn get_calls_total(&self) -> Count
Get total number of draw calls.
fn get_calls_ratio(&self) -> f32
Get the rendered/submitted calls ratio.
Trait Implementations
impl Clone for Report
[src]
fn clone(&self) -> Report
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more