|
|
I know the three methods of copying the texture
1.IDirect3DDevice9::StretchRect
texture to RT texture
RT texture to RT texture
2.IDirect3DDevice9::GetRenderTargetData
POOL_DEFAULT to D3DPOOL_SYSTEMMEM (RT texture to texture)
3.IDirect3DDevice9::UpdateTexture
D3DPOOL_SYSTEMMEM to D3DPOOL_DEFAULT (texture to RT texure)
About texture to texture:
But I have a question about the copying of textures create with D3DPOOL_SYSTEMMEM. Do I just has the way of using the lockrect and copy memory?
If the two texture create with D3DPOOL_SYSTEMMEM have different size and format, how do I copy thems? |
|