![]() |
![]() |
![]() |
BufferDescription.LocateInHardware Property |
Language: |
Specifies whether the buffer must use hardware mixing.
Visual Basic .NET Public Property LocateInHardware As Boolean C# public bool LocateInHardware { get; set; } Managed C++ public: __property bool get_LocateInHardware();
public: __property void set_LocateInHardware(bool);JScript .NET public function get LocateInHardware() : boolean
public function set LocateInHardware(boolean);
System.Boolean . This value is set to true if the buffer must use hardware mixing; otherwise, false.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center