Struct bgfx_rs::static_lib::ViewStats
source · #[repr(C)]pub struct ViewStats {
pub name: [i8; 256],
pub view: ViewId,
pub cpu_time_begin: i64,
pub cpu_time_end: i64,
pub gpu_time_begin: i64,
pub gpu_time_end: i64,
pub gpu_frame_num: u32,
}
Expand description
View stats.
Fields§
§name: [i8; 256]
View name.
view: ViewId
View id.
cpu_time_begin: i64
CPU (submit) begin time.
cpu_time_end: i64
CPU (submit) end time.
gpu_time_begin: i64
GPU begin time.
gpu_time_end: i64
GPU end time.
gpu_frame_num: u32
Frame which generated gpuTimeBegin, gpuTimeEnd.
Implementations§
Auto Trait Implementations§
impl Freeze for ViewStats
impl RefUnwindSafe for ViewStats
impl Send for ViewStats
impl Sync for ViewStats
impl Unpin for ViewStats
impl UnwindSafe for ViewStats
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