![]() |
![]() |
![]() |
Changes the number of samples contained in the buffer.
Syntax
HRESULT Resize(
UINT NewSize );
Parameters
- NewSize
- [in] Number of samples to be contained in the buffer.
Return Value
If the method succeeds, the return value is D3D_OK.
If the method fails, the following value will be returned.
E_OUTOFMEMORY Microsoft Direct3D could not allocate sufficient memory to complete the call.