TryConsumePendingSample
method in Coherence.Interpolation
Methods
public bool TryConsumePendingSample(out Sample<T> sample)
If a new sample has arrived and hasn't been consumed yet, returns it and marks the interpolator as stopped (no further work needed until the next sample arrives). Only valid for non-interpolated bindings (IsInterpolationNone).
Parameters
| Type | Name | Description |
|---|---|---|
| Sample<T> | sample |
Returns
| Type | Description |
|---|---|
| bool |