Class FlexOpMax
Namespace: ValveResourceFormat.ResourceTypes.ModelFlex.FlexOps
Assembly: ValveResourceFormat.dll
Flex operation that computes the maximum of two values.
csharp
public class FlexOpMax : FlexOpInheritance
Inherited Members
FlexOp.Data, FlexOp.Run(in FlexRuleContext), FlexOp.Build(string, int)
Constructors
FlexOpMax(float)
Initializes a new instance of the class.
csharp
public FlexOpMax(float data)Parameters
data float
Methods
Run(in FlexRuleContext)
Executes the flex operation.
csharp
public override void Run(in FlexRuleContext context)Parameters
context FlexRuleContext
Remarks
Pops two values from the stack and pushes the maximum value.

