Hello,
I am pretty new with working with directx and i cant seem to think of a good way to set up my vertex buffer. so my problem i have a sprite sheet with different size sprites on it. what is the best way to make my vertex buffer so that i don't care about the size of my sprite.
should i make a vertex buffer for each sprite? or cal i pass in vertex information into the shader and do stuff in their.
greetings,
Roy
Edit:
would Instancing mentioned in the below article be what i am looking for? this is the first time i am reading about it, but seems to be what i am looking for but i still dont fully understand how the vertex buffer would work. do i have 1 with 4 verts and just draw that at different positions?
http://stackoverflow.com/questions/3884885/what-is-the-best-pratice-to-render-sprites-in-directx-11