<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalKit",
  "identifier" : "/documentation/MetalKit/MTKView/multisampleColorTexture",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MTKView(py)multisampleColorTexture"
  },
  "title" : "multisampleColorTexture"
}
-->

# multisampleColorTexture

The multisample color sample texture to render into.

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

## Discussion

The format of this texture is determined by the value of the [`colorPixelFormat`](/documentation/MetalKit/MTKView/colorPixelFormat) and [`sampleCount`](/documentation/MetalKit/MTKView/sampleCount) properties.

The default value is `nil`. This value is also `nil` if the specified pixel format is <doc://com.apple.documentation/documentation/Metal/MTLPixelFormat/invalid>, or if [`sampleCount`](/documentation/MetalKit/MTKView/sampleCount) is less than or equal to 1.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)