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

10 lines (9 loc) 319 B
import { ShaderStage } from "./shaderParts/ShaderStage"; import { ShaderStruct } from "./shaderParts/ShaderStruct"; export declare class FragmentShader extends ShaderStage { constructor(); build(shaderPipeline: any, inputs: ShaderStruct): { code: string; output: ShaderStruct; }; }