Sign in to follow this  


Recommended Posts

hi i need to update textures dynamically inside render function depending on a file each texture corresponding to each frame. At present what am doing is create texture using D3DXCreateTexture(m_pd3dDevice, 256, 256, D3DX_DEFAULT, 0,D3DFMT_A8R8G8B8, D3DPOOL_MANAGED, &m_pColorTexture ); And then for updation i directly lock the texture each time inside render and then update it.....But am not sure whether am following the best method.Kindly give me tips so that i can improve upon the frames/sec. updating textures of the type rendertarget will be more faster????

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this