BufferDescription.LocateInHardware Property |
Language: |
Specifies whether the buffer must use hardware mixing.
Visual Basic Public Property LocateInHardware As Boolean C# public bool LocateInHardware { get; set; } C++ public:
property bool LocateInHardware {
bool get();
void set(bool value);
}JScript public function get LocateInHardware() : boolean
public function set LocateInHardware(boolean);
System.Boolean
This property is read/write.
This value is set to true if the buffer must use hardware mixing; otherwise, false.
If an attempt is made to create a Buffer or SecondaryBuffer with BufferDescription.LocateInHardware set to true on a system where hardware acceleration is not available, the constructor method will fail.
The application must ensure that a mixing channel is available for the buffer.
If neither BufferDescription.LocateInHardware nor BufferDescription.LocateInSoftware is specified, the buffer is placed in hardware if resources are available, or in software if hardware resources are not available. Hardware buffers are not supported in 64-bit operating systems.
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