ID3DXPRTBuffer::Resize

Changes the number of samples contained in the buffer.

HRESULT Resize(
  UINT NewSize
);

Parameters

NewSize
[in] Number of samples to be contained in the buffer.

Return Values

If the method succeeds, the return value is D3D_OK. If the method fails, the following value will be returned, E_OUTOFMEMORY.

Requirements

Header: Declared in D3dx9mesh.h.