Files
lan-manager/web/node_modules/@antv/g-webgpu-engine/es/webgl/ReglTexture2D.d.ts
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

20 lines
575 B
TypeScript

import { ITexture2D, ITexture2DInitializationOptions } from '@antv/g-webgpu-core';
import regl from 'regl';
/**
* adaptor for regl.Buffer
* @see https://github.com/regl-project/regl/blob/gh-pages/API.md#buffers
*/
export default class ReglTexture2D implements ITexture2D {
private texture;
private width;
private height;
constructor(reGl: regl.Regl, options: ITexture2DInitializationOptions);
get(): regl.Texture2D;
update(): void;
resize({ width, height }: {
width: number;
height: number;
}): void;
destroy(): void;
}