UNPKG

@thi.ng/shader-ast

Version:

DSL to define shader code in TypeScript and cross-compile to GLSL, JS and other targets

6 lines 373 B
export type MathOperator = "+" | "-" | "*" | "/" | "%" | "++" | "--"; export type LogicOperator = "!" | "||" | "&&"; export type ComparisonOperator = "<" | "<=" | "==" | "!=" | ">=" | ">"; export type BitOperator = "<<" | ">>" | "|" | "&" | "^" | "~"; export type Operator = MathOperator | LogicOperator | ComparisonOperator | BitOperator; //# sourceMappingURL=ops.d.ts.map