Table of Contents

Delegate EvalDiscrete<TState>

Namespace
Ofs
Assembly
Ofs.Api.dll

Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.

public delegate void EvalDiscrete<TState>(ReadOnlySpan<DiscreteReader> ins, in TState s, NodeContext ctx, ReadOnlySpan<DiscreteWriter> outs)

Parameters

ins ReadOnlySpan<DiscreteReader>
Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.
s TState
Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.
ctx NodeContext
Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.
outs ReadOnlySpan<DiscreteWriter>
Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.

Type Parameters

TState