pub struct RenderStats {
pub layers_painted: u32,
pub segments: u32,
pub draw_calls: u32,
pub scratch_bytes: u64,
pub layer_texture_bytes: u64,
}Fields§
§layers_painted: u32本帧实际重画的 layer 数
segments: u32实际提交的 scissor 段数
draw_calls: u32paint pass + stencil mask + layer blit 的 draw 总数
scratch_bytes: u64跨 layer 复用 scratch 的总字节(MSAA + stencil + snapshot)
layer_texture_bytes: u64持久 layer resolve texture 的总字节
Trait Implementations§
Source§impl Clone for RenderStats
impl Clone for RenderStats
impl Copy for RenderStats
Source§impl Debug for RenderStats
impl Debug for RenderStats
Source§impl Default for RenderStats
impl Default for RenderStats
impl Eq for RenderStats
Source§impl PartialEq for RenderStats
impl PartialEq for RenderStats
impl StructuralPartialEq for RenderStats
Auto Trait Implementations§
impl Freeze for RenderStats
impl RefUnwindSafe for RenderStats
impl Send for RenderStats
impl Sync for RenderStats
impl Unpin for RenderStats
impl UnsafeUnpin for RenderStats
impl UnwindSafe for RenderStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Brush for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.