pub struct GpuReport {
pub adapter: String,
pub backend: String,
pub driver: String,
pub driver_info: String,
pub tier: &'static str,
pub intermediate_format: &'static str,
pub max_texture_dimension_2d: u32,
pub timestamp_queries: bool,
pub texture_budget_bytes: u64,
}Expand description
The GPU the renderer drives.
Fields§
§adapter: StringThe adapter’s name.
backend: StringThe graphics backend.
driver: StringThe driver’s name.
driver_info: StringThe driver’s version and details, where the platform gives them.
tier: &'static stra (an adapter meeting all of WebGPU) or b (a downlevel one).
intermediate_format: &'static strThe intermediate texture format every picture is stored in, decided
apart from the tier: rgba16float wherever the adapter renders,
filters, and copies it, rgba8unorm elsewhere.
max_texture_dimension_2d: u32The largest 2D texture side.
timestamp_queries: boolWhether passes are timed on the GPU.
texture_budget_bytes: u64The idle-texture pool’s byte budget.
Trait Implementations§
impl StructuralPartialEq for GpuReport
Auto Trait Implementations§
impl Freeze for GpuReport
impl RefUnwindSafe for GpuReport
impl Send for GpuReport
impl Sync for GpuReport
impl Unpin for GpuReport
impl UnsafeUnpin for GpuReport
impl UnwindSafe for GpuReport
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