byteSize property

int get byteSize

The GPU memory the texels occupy, excluding any driver padding.

Implementation

int get byteSize => layerByteSize * layerCount;