---
title: supportsShaderBarycentricCoordinates
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldevice/supportsshaderbarycentriccoordinates
---

# supportsShaderBarycentricCoordinates

A Boolean value that indicates whether the GPU supports barycentric coordinates.

## Declaration

```swift
var supportsShaderBarycentricCoordinates: Bool { get }
```

## Discussion

Discussion If a GPU device supports barycentric coordinates, a fragment shader can receive them by adding the [[barycentric_coord]] attribute to one of its arguments. See the Metal Shading Language specification and Detecting GPU features and Metal software versions for more information.

## See Also

### Checking render support

- [supportsRaytracing](metal/mtldevice/supportsraytracing.md)
- [supportsPrimitiveMotionBlur](metal/mtldevice/supportsprimitivemotionblur.md)
- [supportsRaytracingFromRender](metal/mtldevice/supportsraytracingfromrender.md)
- [supports32BitMSAA](metal/mtldevice/supports32bitmsaa.md)
- [supportsPullModelInterpolation](metal/mtldevice/supportspullmodelinterpolation.md)
- [supportsVertexAmplificationCount(_:)](metal/mtldevice/supportsvertexamplificationcount(_:).md)
- [areProgrammableSamplePositionsSupported](metal/mtldevice/areprogrammablesamplepositionssupported.md)
- [areRasterOrderGroupsSupported](metal/mtldevice/arerasterordergroupssupported.md)
- [areBarycentricCoordsSupported](metal/mtldevice/arebarycentriccoordssupported.md)
