- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
14 lines
500 B
TypeScript
14 lines
500 B
TypeScript
import { IConfig, KernelBundle } from '@antv/g-webgpu-core';
|
|
import { WebGLEngine } from '@antv/g-webgpu-engine';
|
|
import { Kernel } from './Kernel';
|
|
export declare class World {
|
|
static create(config?: Partial<IConfig>): World;
|
|
engine: WebGLEngine;
|
|
private readonly configService;
|
|
setConfig(config: Partial<IConfig>): void;
|
|
setEngine(engine: WebGLEngine): void;
|
|
createEntity(): number;
|
|
createKernel(precompiledBundle: KernelBundle | string): Kernel;
|
|
destroy(): void;
|
|
}
|