Skip to content

Commit

Permalink
TextureHelper: Add WebGPU version. (#1305)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Oct 24, 2024
1 parent db706f2 commit 794b224
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions types/three/examples/jsm/helpers/TextureHelperGPU.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Mesh, Texture } from "three";

export class TextureHelper extends Mesh {
texture: Texture;
type: "TextureHelper";

constructor(texture: Texture, width?: number, height?: number, depth?: number);

dispose(): void;
}

0 comments on commit 794b224

Please sign in to comment.