# binary32
function binary32(value)Implements the `binary32` operation for `miniquake.host_timing` (binary32).
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `binary32`. |
src/miniquake/host_timing.mlminiquake/constants.ml as c → src/miniquake/constants.mlminiquake/native.ml as native → src/miniquake/native.mlminiquake/types.ml as t → src/miniquake/types.mlfunction binary32(value)Implements the `binary32` operation for `miniquake.host_timing` (binary32).
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `binary32`. |
function create()Implements the `create` operation for `miniquake.host_timing` (create).
function filter(timing, elapsed, timedemo, forcedFrameRate, timeScale, maxFps)Implements the `filter` operation for `miniquake.host_timing` (filter).
| Parameter | Type | Default | Description |
|---|---|---|---|
timing | dynamic | — | The timing input consumed by `filter`. |
elapsed | dynamic | — | The elapsed input consumed by `filter`. |
timedemo | dynamic | — | The timedemo input consumed by `filter`. |
forcedFrameRate | dynamic | — | The forced frame rate input consumed by `filter`. |
timeScale | dynamic | — | The time scale input consumed by `filter`. |
maxFps | dynamic | — | The max fps input consumed by `filter`. |
function filterAbsolute(timing, newRealtime, maxFps, forcedFrameRate, timedemo, timeScale)Exact Host_FilterTime core. WinQuake receives a float delta from the platform entry point, accumulates it in the double-precision realtime clock, filters against the unmodified oldRealtime value and only then updates the accepted frame time.
| Parameter | Type | Default | Description |
|---|---|---|---|
timing | dynamic | — | The timing input consumed by `filterAbsolute`. |
newRealtime | dynamic | — | Time value used by the operation. |
maxFps | dynamic | — | The max fps input consumed by `filterAbsolute`. |
forcedFrameRate | dynamic | — | The forced frame rate input consumed by `filterAbsolute`. |
timedemo | dynamic | — | The timedemo input consumed by `filterAbsolute`. |
timeScale | dynamic | — | The time scale input consumed by `filterAbsolute`. |
function milliseconds(timing)Implements the `milliseconds` operation for `miniquake.host_timing` (milliseconds).
| Parameter | Type | Default | Description |
|---|---|---|---|
timing | dynamic | — | The timing input consumed by `milliseconds`. |