I need some help erasing a specific item from my vector array.
I am trying to use vector::erase method, but I can't find the iterator to use. All I know it the index to that item.
( texture[nIndex] for example, nIndex is UINT)
How can I erase, say, item 5 from the array using vector::erase? Also, does it sort it after it so there is no "blank"?