WarmItem beta
Interface of @v12-engine/client
ts
export interface WarmItemA piece of a warm-up done (WarmResult.warmed)
Members
buildMs
ts
buildMs: number;Of that, milliseconds building it (on the page's thread)
color
ts
color?: string;The player's colour, as r,g,b
kind
ts
kind: 'unit' | 'model' | 'material' | 'fx' | 'transition' | 'view';What it was: a unit type's copy, a shared model, a material, an effect, a transition
level
ts
level?: number;A unit's level of detail (0 the nearest)
model
ts
model?: string;A unit's model file
ms
ts
ms: number;Milliseconds it took, from its start to its shaders compiled
name
ts
name: string;Its name: the unit type, the model's file, the material's, the effect's id, the transition's, view
ready
ts
ready: boolean;Whether all of it was compiled in time: not, it compiles as it is first drawn
shaders
ts
shaders: number;Shaders it compiled that were not yet (the rest were there already)