DirectX SDK |
The ID3DXContext::Resize method changes the dimensions of buffers encapsulated by a context object.
HRESULT Resize( DWORD width, DWORD height );
If the method succeeds, the return value is S_OK.
If the method fails, the return value may be one of the following values:
Note that reference counts are maintained for the buffers encapsulated by a context object. So, it is the application's responsibility to release the buffers before the application exits or when it is resized.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Version: Requires DirectX 7.0.
Header: Declared in d3dxcore.h.
Library: Use d3dx.lib.