snapshot( )
snapshot(reuse?: DataTexture): DataTexture;
Copies the current camera frame into the supplied Z.DataTexture.
Parameter | Type | Description |
---|---|---|
reuse | optional, Z.DataTexture | The DataTexture the snapshot will be placed in. If one isn't provided, a new one will be allocated. |
Returns
DataTexture