Original Post
I have two VertexBuffers, and I want each to have a different texture. Presently, my code must call D3DXCreateTextureFromFileEx and D3DDevice->SetTexture before each VertexBuffer is rendered to the Device. Is there any way to have the texture be loaded once and be done with it, or do I have to have them constantly restored from the file with these two lines every cycle of execution?