02 2011 档案
D3d10和D3d11中Map()函数用法一点心得总结
摘要:Directx10和Directx11很多resource类都有个Map()函数,个人感觉它是一个蛮重要的CPU和GPU沟通桥梁。下面以ID3D11DeviceContext::Map()为例讲下。 ID3D11DeviceContext::Map官方解释是:ID3D11DeviceContext::Map Method Get a pointer to the data contained in a subresource, and deny the GPU access to that subresource. SyntaxHRESULT Map( ID3D11Resource *pRe.
阅读全文
浙公网安备 33010602011771号