isDepth property

bool get isDepth

Whether this is a depth (and stencil) format.

Implementation

bool get isDepth => this == depth24Stencil8 || this == depth32fStencil8;