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
insReadOnlySpan<DiscreteReader>- Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.
sTState- Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.
ctxNodeContext- Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.
outsReadOnlySpan<DiscreteWriter>- Discrete eval (worker thread): read the N input action lists and write the M output action lists once per region.
Type Parameters
TState