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

29 lines (28 loc) 1.6 kB
import { DrawConfig } from "./pipelines/resources/DrawConfig"; export declare class HighLevelParser { constructor(); protected parseShaderBuiltins(descriptor: any): any; protected parseVertexBufferIOs(descriptor: any): any; protected parseImageTextureIOs(descriptor: any): any; protected parseVertexBuffers(descriptor: any): any; protected parseVertexAttributes(descriptor: any): any; protected parseUniformBuffers(descriptor: any): any; protected parseUniform(descriptor: any): any; protected parseImageTextureArray(descriptor: any): any; protected parseImageTexture(descriptor: any): any; protected parseTextureSampler(descriptor: any): any; protected parseVideoTexture(descriptor: any): any; protected parseCubeMapTexture(descriptor: any): any; protected parseDrawConfig(descriptor: any, drawConfig: DrawConfig): any; protected parseBindgroup(descriptor: any): any; protected firstPass(descriptor: any, target: "render" | "compute" | "bindgroup", drawConfig?: DrawConfig): any; protected parseHighLevelObj(descriptor: any): any; protected findAndFixRepetitionInDataStructure(o: any): any; protected targetIsBindgroup: boolean; protected parseBindgroupEntries(descriptor: any): any; private parseDebugValues; private parseVertexShaderDebug; parse(descriptor: any, target: "render" | "compute" | "bindgroup", drawConfig?: DrawConfig): any; private static instance; static parse(descriptor: any, target: "render" | "compute" | "bindgroup", drawConfig?: DrawConfig): any; }