Instance Method


Resets a vertex descriptor to its default state.


func reset()


Calling this method returns the descriptor to its original state, as is produced when initializing a vertex descriptor with the inherited init() method. After calling this method, the descriptor contains a single empty MDLVertexAttribute object and a single empty MDLVertexBufferLayout object.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software