![]() |
![]() |
![]() |
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_INVALIDCALL The 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.