xgpu
Version:
XGPU is an extendable library for WebGPU that provides a higher-level, easy-to-use interface for building rendering engines or processing numeric data. It handles automatic data binding, buffer alignment, variable declarations in shaders, and more. XGPU i
16 lines (15 loc) • 501 B
TypeScript
export declare class WebGPUProperties {
private static build;
private static resolve;
private static getResult;
private static ready;
private static textureUsage;
private static bufferUsage;
private static shaderStage;
static init(): Promise<void>;
private static _instance;
constructor();
static getTextureUsageById(id: number): string;
static getBufferUsageById(id: number): string;
static getShaderStageById(id: number): string;
}