UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

15 lines 523 B
import { type TgdContext, type TgdTexture2D } from "@tolokoban/tgd"; export declare class Framebuffers { readonly context: TgdContext; private readonly textureInput; private readonly textures; private readonly framebuffers; private readonly textureToDelete; constructor(context: TgdContext, textureInput: TgdTexture2D); get texture(): TgdTexture2D; clear(): void; paint(action: () => void): TgdTexture2D; swap(): void; delete(): void; } //# sourceMappingURL=framebuffers.d.ts.map