PrtBuffer.AddBuffer Method

Language:

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

Definition

Visual Basic Public Sub AddBuffer( _
    ByVal buffer As PrtBuffer _
)
C# public void AddBuffer(
    PrtBuffer buffer
);
C++ public:
void AddBuffer(
    PrtBufferbuffer
);
JScript public function AddBuffer(
    buffer : PrtBuffer
);

Parameters

buffer Microsoft.DirectX.Direct3D.PrtBuffer
A PrtBuffer that contains members to be added to the respective members of the PrtBuffer buffer.

Remarks

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

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center