sliceCount property
The number of slices in this texture. Determined by textureType: 1 for 2D and external textures, 6 for cubemap textures.
Implementation
int get sliceCount => textureType == TextureType.textureCube ? 6 : 1;
The number of slices in this texture. Determined by textureType: 1 for 2D and external textures, 6 for cubemap textures.
int get sliceCount => textureType == TextureType.textureCube ? 6 : 1;