---
title: imageblockSampleLength
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinestate/imageblocksamplelength
---

# imageblockSampleLength

The memory size, in byes, of the render pipeline’s imageblock for a single sample.

## Declaration

```swift
var imageblockSampleLength: Int { get }
```

## See Also

### Checking tile shader memory requirements

- [maxTotalThreadsPerThreadgroup](metal/mtlrenderpipelinestate/maxtotalthreadsperthreadgroup.md)
- [threadgroupSizeMatchesTileSize](metal/mtlrenderpipelinestate/threadgroupsizematchestilesize.md)
- [imageblockMemoryLength(forDimensions:)](metal/mtlrenderpipelinestate/imageblockmemorylength(fordimensions:).md)
