Skip to content

eulerjs API / @eulerjs/marine/webgpu / FieldPatch

FieldPatch ​

Defined in: packages/marine/src/webgpu/GpuWaveFields.ts:66

One patch of the sea as the fields hold it: layer i of the field textures is patch i.

Properties ​

PropertyModifierTypeDescriptionDefined in
foamLayerreadonlynumber | undefinedIts layer of the foam textures; undefined if the patch makes no foam.packages/marine/src/webgpu/GpuWaveFields.ts:69
sizereadonlynumber-packages/marine/src/webgpu/GpuWaveFields.ts:67

Released under the MIT License.