Skip to content

TestGeometry beta ​

Interface of @v12-engine/render/testing

ts
export interface TestGeometry extends Geometry

A geometry as it was given, and what was written into it since

Members ​

data ​

ts
readonly data: GeometryData;

What it was made of, as it was given

disposed ​

ts
disposed: boolean;

Whether it was let go of

writes ​

ts
readonly writes: {
        what: 'positions' | 'indices' | string;
        first: number;
        length: number;
    }[];

Each write after it was made, in order: what, from where, how many values