Microsoft DirectX 9.0 SDK Update (October 2004)

Buffer.Caps Property

Language:

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

Retrieves the capabilities of the buffer object.

Definition

Visual Basic .NET Public ReadOnly Property Caps As BufferCaps
C# public BufferCaps Caps { get; }
Managed C++ public: __property BufferCaps get_Caps();
JScript .NET public function get Caps() : BufferCaps

Property Value

Microsoft.DirectX.DirectSound.BufferCaps . A BufferCaps object that describes the capabilities of the buffer.

This property is read-only. 

Remarks

The BufferCaps structure contains similar information to the BufferDescription class passed to the Buffer constructor, with some additional information. This additional information can include the buffer's location, either in hardware or software, and performance measures.

The BufferCaps properties are the same properties used by the BufferDescription class. The only difference is that in the BufferCaps structure, either BufferCaps.LocateInHardware or BufferCaps.LocateInSoftware will be set to true according to the location of the buffer memory. In the BufferDescription class, setting the properties are optional and, depending on which property is set, force the buffer to be located in either hardware or software.

Applies To

SecondaryBuffer

© 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