Buffer.Caps Property |
Language: |
Retrieves the capabilities of the buffer object.
Visual Basic Public ReadOnly Property Caps As BufferCaps C# public BufferCaps Caps { get; } C++ public:
property BufferCaps Caps {
BufferCaps get();
}JScript public function get Caps() : BufferCaps
Microsoft.DirectX.DirectSound.BufferCaps
This property is read-only.
A BufferCaps object that describes the capabilities of the buffer.
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.
SecondaryBuffer
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