pub struct RetainedTelemetry {
pub live_meshes: usize,
pub mesh_limit: usize,
pub mesh_bytes: usize,
pub mesh_byte_limit: usize,
pub instances: usize,
pub instance_limit: usize,
pub draws: usize,
pub draw_limit: usize,
pub skin_joints: usize,
pub skin_joint_limit: usize,
pub buffers: RetainedBufferCapacities,
pub rejections: RetainedRejections,
}Expand description
A copy of retained resource usage on the calling renderer thread.
Meshes include geometry kept alive by recorded draws, but exclude expired
weak handles and do not double-count cloned handles. Instance, draw and joint
usage describes the current frame buffers (the last completed frame until
the next clear). This is CPU recording telemetry, not a GPU timing or actual
driver draw-call count. See telemetry_snapshot for an example.
Fields§
§live_meshes: usize§mesh_limit: usize§mesh_bytes: usizeExpanded vertex and skin payload bytes; excludes metadata and GPU copies.
mesh_byte_limit: usize§instances: usizeAccepted instances, including shadow-only submissions.
instance_limit: usize§draws: usizeRetained batches after adjacent merging or the most recent finalization.
draw_limit: usizeUpper bound from the instance budget: each batch needs an instance. There is no separate draw-batch rejection threshold.
skin_joints: usizeStored palette joints; adjacent equal palettes share their storage.
skin_joint_limit: usize§buffers: RetainedBufferCapacities§rejections: RetainedRejectionsTrait Implementations§
Source§impl Clone for RetainedTelemetry
impl Clone for RetainedTelemetry
Source§fn clone(&self) -> RetainedTelemetry
fn clone(&self) -> RetainedTelemetry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more