Microsoft DirectX 9.0 SDK Update (October 2004)

PrtBuffer.AddBuffer Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub AddBuffer( _
    ByVal buffer As PrtBuffer _
)
C# public void AddBuffer(
    PrtBuffer buffer
);
Managed C++ public: void AddBuffer(
    PrtBuffer *buffer
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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