barycentric

The barycentric coordinate of the primitive. See the discussion of [[barycentric_coord]] in Section “5.2.3.4 Fragment Function Input Attributes” of Metal Shading Language Specification

Declaration

var barycentric: SIMD3<Float>? { get }