UNPKG

@shaderfrog/glsl-parser

Version:

A GLSL ES 1.0 and 3.0 parser and preprocessor that can preserve whitespace and comments

9 lines (6 loc) 183 B
import type { PreprocessorProgram } from './preprocessor'; export type ParserOptions = {}; export function parse( input: string, options?: ParserOptions ): PreprocessorProgram;