Skip to content

DebugContributor

Defined in: types.ts:62

A debug contributor that registers drawing/sampling callbacks.

readonly flags: readonly string[]

Defined in: types.ts:64


readonly name: string

Defined in: types.ts:63

optional dispose(): void

Defined in: types.ts:68

void


optional drawHud(api): void

Defined in: types.ts:66

HudDebugApi

void


optional drawWorld(api): void

Defined in: types.ts:65

WorldDebugApi

void


optional sample(stats, dt): void

Defined in: types.ts:67

StatsApi

number

void

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/debug.md.