¡@

Home 

c++ Programming Glossary: pnewtexture

DirectX 11 framebuffer capture (C++, no Win32 or D3DX)

http://stackoverflow.com/questions/10623787/directx-11-framebuffer-capture-c-no-win32-or-d3dx

new unsigned char width height 4 ID3D11Texture2D pNewTexture NULL D3D11_TEXTURE2D_DESC description width height 1 1 DXGI_FORMAT_R8G8B8A8_UNORM.. 0 HRESULT hr m_d3dDevice CreateTexture2D description NULL pNewTexture if pNewTexture m_d3dContext CopyResource pNewTexture pSurface.. CreateTexture2D description NULL pNewTexture if pNewTexture m_d3dContext CopyResource pNewTexture pSurface D3D11_MAPPED_SUBRESOURCE..