ID3DXPRTBuffer::Resize method

Changes the number of samples contained in the buffer.

Syntax

HRESULT Resize(
  [in] UINT NewSize
);

Parameters

NewSize [in]

Type: UINT

Number of samples to be contained in the buffer.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Header
D3DX9Mesh.h
Library
D3dx9.lib

See also

ID3DXPRTBuffer