pub struct BenchmarkMetadata {
pub project: String,
pub alpha2_version: &'static str,
pub adapter: AdapterDiagnostics,
pub dimensions: (u32, u32),
pub resolution_scale: f32,
pub max_filter_samples: u32,
pub motion_blur_subframes: u32,
pub texture_budget_bytes: u64,
}Expand description
Reproducible metadata envelope written beside benchmark measurements.
Fields§
§project: StringCaller-defined project or fixture identity.
alpha2_version: &'static strVersion of the alpha2 render crate.
adapter: AdapterDiagnosticsAdapter and driver identity.
dimensions: (u32, u32)Output width and height.
resolution_scale: f32Output scale used by the caller.
max_filter_samples: u32Filter sample budget.
motion_blur_subframes: u32Temporal sample count.
texture_budget_bytes: u64Texture byte budget.
Trait Implementations§
Source§impl Clone for BenchmarkMetadata
impl Clone for BenchmarkMetadata
Source§impl Debug for BenchmarkMetadata
impl Debug for BenchmarkMetadata
Source§impl PartialEq for BenchmarkMetadata
impl PartialEq for BenchmarkMetadata
impl StructuralPartialEq for BenchmarkMetadata
Auto Trait Implementations§
impl Freeze for BenchmarkMetadata
impl RefUnwindSafe for BenchmarkMetadata
impl Send for BenchmarkMetadata
impl Sync for BenchmarkMetadata
impl Unpin for BenchmarkMetadata
impl UnsafeUnpin for BenchmarkMetadata
impl UnwindSafe for BenchmarkMetadata
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