UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

23 lines 682 B
import { TgdProgram } from "../program"; import { TgdTextureCubeOptions } from "../types"; export declare class TgdTextureCube { readonly context: { gl: WebGL2RenderingContext; paint: () => void; }; readonly texture: WebGLTexture; private _width; private _height; constructor(context: { gl: WebGL2RenderingContext; paint: () => void; }, options: TgdTextureCubeOptions); delete(): void; get width(): number; get height(): number; bind(): void; unbind(): void; activate(unit: number, program: TgdProgram, uniformName: string): void; private loadImage; } //# sourceMappingURL=texture-cube.d.ts.map