layerCount property

int get layerCount

The number of layers.

Implementation

int get layerCount => gpu.textureLayerCount(_texture);