Renderer · function
createGlobalField
Allocate a field. Called once; composeGlobalField fills it and allocates nothing.
Explained in Hello world.
function createGlobalField(resolution: number, cascades: number): GlobalFieldimport { createGlobalField } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
resolution | number | |
cascades | number |