Skip to content

@orillusion/core


Function: evalCondition() ​

evalCondition(expr, defines): boolean

Defined in: src/gfx/graphics/webGpu/shader/util/PreprocessorExpr.ts:233

Parameters ​

expr ​

string

defines ​

Record<string, any>

Returns ​

boolean