d3d9.dllAddBuffer
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXPRTBuffer::AddBuffer Method


Adds another buffer to the ID3DXPRTBuffer and stores the results in ID3DXPRTBuffer.

Syntax

HRESULT AddBuffer(      

    LPD3DXPRTBUFFER pBuffer );

Parameters

pBuffer
[in] Pointer to a buffer that contains members to be added to the respective members of the ID3DXPRTBuffer buffer.

Return Value

If the method succeeds, the return value is S_OK.

If the method fails, the following value will be returned.

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.


Remarks

pBuffer and ID3DXPRTBuffer must have the same number of samples, coefficients, and color channels; the method will fail otherwise.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.