wgsl_reflect
Advanced tools
Comparing version 1.0.14 to 1.0.15
{ | ||
"name": "wgsl_reflect", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "WGSL Parser and Reflection library", | ||
@@ -5,0 +5,0 @@ "author": "Brendan Duncan", |
@@ -142,2 +142,4 @@ # WebGPU Shading Language Reflection Library | ||
outputs: Array<OutputInfo>; | ||
arguments: Array<ArgumentInfo>; // only for non-entry functions | ||
returnType: TypeInfo | null; | ||
resources: Array<VariableInfo>; | ||
@@ -170,2 +172,7 @@ startLine: number; | ||
} | ||
class ArgumentInfo { | ||
name: string; | ||
type: TypeInfo; | ||
} | ||
``` | ||
@@ -172,0 +179,0 @@ |
@@ -107,2 +107,7 @@ import * as AST from "./wgsl_ast.js"; | ||
} | ||
export declare class ArgumentInfo { | ||
name: string; | ||
type: TypeInfo; | ||
constructor(name: string, type: TypeInfo); | ||
} | ||
export declare class FunctionInfo { | ||
@@ -113,2 +118,4 @@ name: string; | ||
outputs: Array<OutputInfo>; | ||
arguments: Array<ArgumentInfo>; | ||
returnType: TypeInfo | null; | ||
resources: Array<VariableInfo>; | ||
@@ -115,0 +122,0 @@ overrides: Array<OverrideInfo>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
344332
9564
325