memberByName(_:)
Provides a representation of a struct member.
Declaration
func memberByName(_ name: String) -> MTLStructMember?Parameters
- name:
The name of a member in the struct.
Return Value
An object that represents the named struct member. If name does not match a member name, nil is returned.