MiniQuake

src/miniquake/gl_smoke.ml

Package
miniquake.gl_smoke
Reachable
Yes

Imports

Declarations

draw

function draw(width, height)

Implements the `draw` operation for `miniquake.gl_smoke` (draw).

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

run

function run()

Implements the `run` operation for `miniquake.gl_smoke` (run).

View source

runFrames

function runFrames(maxFrames)

Execute frames.

ParameterTypeDefaultDescription
maxFramesdynamic—The max frames input consumed by `runFrames`.

View source

validateReadback

function validateReadback(width, height)

Validate readback and report any incompatibility.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source