@luma.gl/shadertools
Version:
Shader module system for luma.gl
8 lines • 339 B
TypeScript
import { ShaderLayout } from '@luma.gl/core';
/**
* Parse a ShaderLayout from WGSL shader source code.
* @param source WGSL source code (can contain both @vertex and @fragment entry points)
* @returns
*/
export declare function getShaderLayoutFromWGSL(source: string): ShaderLayout;
//# sourceMappingURL=get-shader-layout-wgsl.d.ts.map