A Boolean value indicating whether the GPU supports barycentric coordinates.
Required.
SDK
- macOS 10.15+
Framework
- Metal
Declaration
@property(readonly, getter=areBarycentricCoordsSupported) BOOL barycentricCoordsSupported;
Discussion
If the value of this property is YES
, you may use the [[barycentric
and [[primitive
keywords on arguments to a fragment shader to receive barycentric coordinates and primitive information. See Metal Shading Language specification.