Instance Method

reset()

Resets a vertex descriptor to its default state.

Declaration

func reset()

Discussion

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.