Microsoft DirectX 9.0 SDK Update (October 2004)

BufferDescription.LocateInHardware Property

Language:

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

Specifies whether the buffer must use hardware mixing.

Definition

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);

Property Value

System.Boolean . This value is set to true if the buffer must use hardware mixing; otherwise, false.

This property is read/write. 

Remarks

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.


© 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