---
title: TextureTopology
framework: compositorservices
role: symbol
role_heading: Structure
path: compositorservices/texturetopology
---

# TextureTopology

A type that specifies the organization of one of the drawable’s textures.

## Declaration

```swift
struct TextureTopology
```

## Overview

Overview Metal supports multiple organizations for the textures you use for drawing. Use this type to identify one of the organizations available to use in your app.

## Topics

### Getting the topology type

- [textureType](compositorservices/texturetopology/texturetype.md)

### Getting the array length

- [arrayLength](compositorservices/texturetopology/arraylength.md)

### Creating a topology

- [init()](compositorservices/texturetopology/init().md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Getting the layer’s texture topology

- [textureTopologies](compositorservices/layerrenderer/properties-swift.struct/texturetopologies.md)
