Class VfxEvalCompiler
Namespace: ValveResourceFormat.Serialization.VfxEval
Assembly: ValveResourceFormat.dll
Compiles expression text for VfxEvalRuntime.
csharp
public sealed class VfxEvalCompilerInheritance
object ← VfxEvalCompiler
Remarks
Takes function definitions, then v0 = ...; locals, then an expression of calls, names, numbers, operators, swizzles and ?:, optionally after return. A function has typed parameters, locals and one return, and is inlined at each call.
Methods
Compile(string)
Compiles an expression, throwing InvalidDataException when it is not valid.
csharp
public static byte[] Compile(string source)Parameters
source string
Returns
byte[]

