members
An array of instances that describe the fields in the struct.
Declaration
var members: [MTLStructMember] { get }Discussion
Each array element in members is an MTLStructMember instance that corresponds to one of the fields in the struct.
See Also
Related Documentation
- Metal Shading Language Guide
- Metal Programming Guide