// generated by diplomat-tool import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** * Binary field-program operations (see `crate::sdf::BinaryOp`). `Add` * and `Sub` accept either two scalars or two vec3s. */ export class FieldProgramBinaryOp { /** @internal */ static fromValue(value: FieldProgramBinaryOp | string): FieldProgramBinaryOp; get value(): string; /** @internal */ get ffiValue(): number; static Add : FieldProgramBinaryOp; static Sub : FieldProgramBinaryOp; static Mul : FieldProgramBinaryOp; static Div : FieldProgramBinaryOp; static Min : FieldProgramBinaryOp; static Max : FieldProgramBinaryOp; static Pow : FieldProgramBinaryOp; static Atan2 : FieldProgramBinaryOp; static Lt : FieldProgramBinaryOp; static Le : FieldProgramBinaryOp; static Gt : FieldProgramBinaryOp; static Ge : FieldProgramBinaryOp; static Eq : FieldProgramBinaryOp; static Dot : FieldProgramBinaryOp; static Cross : FieldProgramBinaryOp; /** * `vec3 * scalar`, componentwise. */ static Scale : FieldProgramBinaryOp; constructor(value: FieldProgramBinaryOp | string ); }