Struct bgfx_sys::bgfx_view_stats_s
source · #[repr(C)]pub struct bgfx_view_stats_s {
pub name: [c_char; 256],
pub view: bgfx_view_id_t,
pub cpuTimeBegin: i64,
pub cpuTimeEnd: i64,
pub gpuTimeBegin: i64,
pub gpuTimeEnd: i64,
pub gpuFrameNum: u32,
}
Expand description
View stats.
Fields§
§name: [c_char; 256]
§view: bgfx_view_id_t
View name.
cpuTimeBegin: i64
View id.
cpuTimeEnd: i64
CPU (submit) begin time.
gpuTimeBegin: i64
CPU (submit) end time.
gpuTimeEnd: i64
GPU begin time.
gpuFrameNum: u32
GPU end time.
Trait Implementations§
source§impl Clone for bgfx_view_stats_s
impl Clone for bgfx_view_stats_s
source§fn clone(&self) -> bgfx_view_stats_s
fn clone(&self) -> bgfx_view_stats_s
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for bgfx_view_stats_s
impl Debug for bgfx_view_stats_s
impl Copy for bgfx_view_stats_s
Auto Trait Implementations§
impl Freeze for bgfx_view_stats_s
impl RefUnwindSafe for bgfx_view_stats_s
impl Send for bgfx_view_stats_s
impl Sync for bgfx_view_stats_s
impl Unpin for bgfx_view_stats_s
impl UnwindSafe for bgfx_view_stats_s
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