Skip to content

HudRenderer beta ​

Interface of @v12-engine/client

ts
export interface HudRenderer

What draws the game, as a HUD tells of it (ui.renderer()): the renderer (WebGPU, WebGL 2), the graphics card, and whether it is WebGPU (the stats window offers the other)

Members ​

gpu ​

ts
gpu: string;

Who made the graphics card, and what it is

name ​

ts
name: string;

WebGPU, WebGL 2

only ​

ts
only?: boolean;

Whether it is the only renderer the client draws with: no switch to another is offered (the renderer of our own)

webgpu ​

ts
webgpu: boolean;

Whether the renderer is WebGPU