allocationSize method

int allocationSize([
  1. VideoFrameCopyToOptions options
])

@AvailableInWorkers("window_and_dedicated")

The allocationSize() method of the VideoFrame interface returns the number of bytes required to hold the video as filtered by options passed into the method.

Implementation

external int allocationSize([VideoFrameCopyToOptions options]);