isCompressed property

bool get isCompressed

Whether this is a block-compressed pixel format.

Implementation

bool get isCompressed {
  return blockWidth > 1 || blockHeight > 1;
}