Skip to content

TestTexture beta ​

Interface of @v12-engine/render/testing

ts
export interface TestTexture extends DataTexture

A data texture as it was asked for, and what was written into it since

Members ​

disposed ​

ts
disposed: boolean;

Whether it was let go of

last ​

ts
last: Uint8Array | Float32Array | undefined;

The last values written into a region that began at its origin (the whole, mostly)

mipsMade ​

ts
mipsMade: number;

Calls of mips, since it was made

options ​

ts
readonly options: DataTextureOptions;

The options it was made with

writes ​

ts
readonly writes: {
        region: DataRegion | undefined;
        length: number;
    }[];

Each write: its region and how many values