Directx11 vertexbuffer

I'm trying to learn how to program a simple 2d game using directx 11 and I have a question regarding the vertex buffer, I created a 1.0f x 1.0f square to load a 512x512 pixel texture, to create a larger object and maintain the proportion I would have to create another vertexBuffer 2.0f x 2.0f with 1024x1024 texture?

To maintain the proportion, do I have to work with several vertexbuffers with different sizes? I use indexbuffer to draw.

Upvotes: 0

Views: 38

Answers (0)

Related Questions