Documentation
    Preparing search index...

    Interface ResourceLeakReport

    What survived the audited span — every field a difference (after - before), clamped at zero because a negative difference means resources were disposed and is not what §83's warning is about.

    interface ResourceLeakReport {
        bufferBytes: number;
        geometries: number;
        leaked: boolean;
        materials: number;
        message: string;
        renderTargets: number;
        solverBodies: number;
        solverColliders: number;
        solverHandles: number;
        solverJoints: number;
        textureBytes: number;
        textures: number;
    }
    Index
    bufferBytes: number

    Bytes those geometries hold.

    geometries: number

    Geometries constructed and not disposed during the span.

    leaked: boolean

    true when any instance count grew.

    materials: number
    message: string

    The warning text, or "" when nothing leaked. Always produced (it is what a test asserts on); whether it was printed is AuditResourceLeaksOptions.warn's business.

    renderTargets: number

    Render targets constructed and not disposed during the span.

    solverBodies: number
    solverColliders: number
    solverHandles: number
    solverJoints: number
    textureBytes: number

    Bytes the surviving textures and targets describe.

    textures: number

    Textures constructed and not disposed during the span.