Jean Pierre
2022-11-22 00:07:23 -05:00
parent a351f5758a
commit d4ee0309d9
5 changed files with 33 additions and 23 deletions
@@ -51,3 +51,13 @@ export function expandFloat32Array(source: Float32Array, max: number): Float32Ar
}
return newArray;
}
export class GLTexture {
public texture: WebGLTexture;
public dirtyId: number;
constructor(texture: WebGLTexture) {
this.texture = texture;
this.dirtyId = -1;
}
}