PrtBuffer.AddBuffer(PrtBuffer) Method (Microsoft.DirectX.Direct3D)
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(
PrtBuffer^ buffer
);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
The method call is invalid. For example, a method's parameter might contain an invalid value.