DriftTexture · function
halfWeights
A whole weight array as half-precision bits, each weight rounded on its own.
Explained in DriftTexture.
function halfWeights(weights: Float32Array): Uint16Arrayimport { halfWeights } from '@driftengine/texture';Parameters
| Parameter | Type | Description |
|---|---|---|
weights | Float32Array |