<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTL4MeshRenderPipelineDescriptor/objectThreadgroupSizeIsMultipleOfThreadExecutionWidth",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTL4MeshRenderPipelineDescriptor(py)objectThreadgroupSizeIsMultipleOfThreadExecutionWidth"
  },
  "title" : "objectThreadgroupSizeIsMultipleOfThreadExecutionWidth"
}
-->

# objectThreadgroupSizeIsMultipleOfThreadExecutionWidth

Provides a guarantee to Metal regarding the number of threadgroup threads for the object stage of a pipeline you
create from this descriptor.

```
var objectThreadgroupSizeIsMultipleOfThreadExecutionWidth: Bool { get set }
```

## Discussion

If you set this property to <doc://com.apple.documentation/documentation/Swift/true>, you state to Metal that when
you use a mesh render pipeline you create from this descriptor, the number of threadgroup threads you dispatch for
the object stage is a multiple of its [`objectThreadExecutionWidth`](/documentation/Metal/MTLRenderPipelineState/objectThreadExecutionWidth). The compiler’s optimizer can use this guarantee to generate
more efficient code.

This property’s default value is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)