Struct oxygengine_ha_renderer::ha_renderer::RenderStats
source · pub struct RenderStats {
pub draw_calls: usize,
pub mesh_changes: usize,
pub material_changes: usize,
pub uniform_changes: usize,
pub sampler_changes: usize,
pub state_changes: usize,
}Fields§
§draw_calls: usize§mesh_changes: usize§material_changes: usize§uniform_changes: usize§sampler_changes: usize§state_changes: usizeTrait Implementations§
source§impl Clone for RenderStats
impl Clone for RenderStats
source§fn clone(&self) -> RenderStats
fn clone(&self) -> RenderStats
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 RenderStats
impl Debug for RenderStats
source§impl Default for RenderStats
impl Default for RenderStats
source§fn default() -> RenderStats
fn default() -> RenderStats
Returns the “default value” for a type. Read more
source§impl PartialEq<RenderStats> for RenderStats
impl PartialEq<RenderStats> for RenderStats
source§fn eq(&self, other: &RenderStats) -> bool
fn eq(&self, other: &RenderStats) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RenderStats
impl StructuralEq for RenderStats
impl StructuralPartialEq for RenderStats
Auto Trait Implementations§
impl RefUnwindSafe for RenderStats
impl Send for RenderStats
impl Sync for RenderStats
impl Unpin 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more