1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-25 05:40:06 +00:00

Updated CaptureTexture (markdown)

Chuck Walbourn 2017-01-30 22:26:02 -08:00
parent 4cf683250a
commit 99e41f6c25

@ -1,6 +1,6 @@
Captures a Direct3D 11 render target and returns an image. Captures a Direct3D render target and returns an image.
_This function is intended for use with tools or editor programs. For runtime/engine use, we strongly recommend using [ScreenGrab](https://github.com/Microsoft/DirectXTK/wiki/ScreenGrab) instead of DirectXTex._ _This function is intended for use with tools or editor programs. For runtime/engine use, we strongly recommend using ScreenGrab [DX11](https://github.com/Microsoft/DirectXTK/wiki/ScreenGrab) / [DX12](https://github.com/Microsoft/DirectXTK12/wiki/ScreenGrab) instead of DirectXTex._
HRESULT CaptureTexture( ID3D11Device* pDevice, ID3D11DeviceContext* pContext, HRESULT CaptureTexture( ID3D11Device* pDevice, ID3D11DeviceContext* pContext,
ID3D11Resource* pSource, ID3D11Resource* pSource,