UNPKG

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

39 lines (38 loc) 656 B
export declare class ShaderType { static Float: { type: string; }; static Vec2: { type: string; }; static Vec3: { type: string; }; static Vec4: { type: string; }; static Int: { type: string; }; static IVec2: { type: string; }; static IVec3: { type: string; }; static IVec4: { type: string; }; static Uint: { type: string; }; static UVec2: { type: string; }; static UVec3: { type: string; }; static UVec4: { type: string; }; }