Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds another buffer to the ID3DXPRTBuffer and stores the results in ID3DXPRTBuffer.
Syntax
HRESULT AddBuffer(
[in] LPD3DXPRTBUFFER pBuffer
);
Parameters
-
pBuffer [in]
-
Type: LPD3DXPRTBUFFER
Pointer to a buffer that contains members to be added to the respective members of the ID3DXPRTBuffer buffer.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned.
Remarks
pBuffer and ID3DXPRTBuffer must have the same number of samples, coefficients, and color channels; the method will fail otherwise.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also