|
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) |
|
surface copy 的几个方法
最新推荐文章于 2023-03-06 19:41:03 发布
本文介绍了使用Direct3D进行纹理操作的三种方法:通过IDirect3DDevice9::StretchRect进行纹理间的拉伸渲染;利用IDirect3DDevice9::GetRenderTargetData从渲染目标纹理获取数据;以及使用IDirect3DDevice9::UpdateTexture更新不同内存池间的纹理。

8044

被折叠的 条评论
为什么被折叠?



