¡@

Home 

c++ Programming Glossary: psurface

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

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

sure to call after the call to Present. ID3D11Texture2D pSurface HRESULT hr m_swapChain GetBuffer 0 __uuidof ID3D11Texture2D.. GetBuffer 0 __uuidof ID3D11Texture2D reinterpret_cast void pSurface if pSurface const int width static_cast int m_window Bounds.Width.. __uuidof ID3D11Texture2D reinterpret_cast void pSurface if pSurface const int width static_cast int m_window Bounds.Width m_dpi..

How to copy frontBuffer data to texture DirectX 9

http://stackoverflow.com/questions/10819951/how-to-copy-frontbuffer-data-to-texture-directx-9

is working Direct X 9 C capture screen IDirect3DSurface9 pSurface g_pd3dDevice CreateOffscreenPlainSurface 640 480 D3DFMT_A8R8G8B8.. 640 480 D3DFMT_A8R8G8B8 D3DPOOL_SCRATCH pSurface NULL g_pd3dDevice GetFrontBufferData 0 pSurface Now that I've.. pSurface NULL g_pd3dDevice GetFrontBufferData 0 pSurface Now that I've got my frontBufferData I would like to create..