---
title: isCube
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdltexture/iscube
---

# isCube

A Boolean value that indicates whether the texture is a cube textures.

## Declaration

```swift
var isCube: Bool { get set }
```

## Discussion

Discussion Cube textures are used in skybox rendering, light probes, and environment maps. If this property’s value is true, the texture object represents a cube texture. In this case, the texture’s image data (accessible with the methods in Accessing Texture Data) contains six square images arranged vertically. The images represent the +X, -X, +Y, -Y, +Z, and -Z faces of the cube (in that order), and the dimensions property reflects this arrangement (height is six times width).

## See Also

### Examining Texture Attributes

- [dimensions](modelio/mdltexture/dimensions.md)
- [rowStride](modelio/mdltexture/rowstride.md)
- [channelCount](modelio/mdltexture/channelcount.md)
- [channelEncoding](modelio/mdltexture/channelencoding.md)
- [mipLevelCount](modelio/mdltexture/miplevelcount.md)
