---
title: multisampleColorTexture
framework: metalkit
role: symbol
role_heading: Instance Property
path: metalkit/mtkview/multisamplecolortexture
---

# multisampleColorTexture

The multisample color sample texture to render into.

## Declaration

```swift
var multisampleColorTexture: (any MTLTexture)? { get }
```

## Discussion

Discussion The format of this texture is determined by the value of the colorPixelFormat and sampleCount properties. The default value is nil. This value is also nil if the specified pixel format is MTLPixelFormat.invalid, or if sampleCount is less than or equal to 1.

## See Also

### Retrieving Render Target Information

- [currentRenderPassDescriptor](metalkit/mtkview/currentrenderpassdescriptor.md)
- [currentDrawable](metalkit/mtkview/currentdrawable.md)
- [depthStencilTexture](metalkit/mtkview/depthstenciltexture.md)
- [depthStencilStorageMode](metalkit/mtkview/depthstencilstoragemode.md)
