Mesh.LockAttributeBufferArray Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Locks an attribute buffer and obtains its memory.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
Public Function LockAttributeBufferArray ( _
flags As LockFlags _
) As Integer()
'Usage
Dim instance As Mesh
Dim flags As LockFlags
Dim returnValue As Integer()
returnValue = instance.LockAttributeBufferArray(flags)
public int[] LockAttributeBufferArray(
LockFlags flags
)
public:
array<int>^ LockAttributeBufferArray(
LockFlags flags
)
member LockAttributeBufferArray :
flags:LockFlags -> int[]
Parameters
- flags
Type: Microsoft.WindowsMobile.DirectX.Direct3D.LockFlags
Zero or more of the following LockFlags that describe the type of lock to perform:
NoDirtyUpdate
ReadOnly
Return Value
Type: array<System.Int32[]
Array that contains three values for each face in the mesh.
Exceptions
Exception | Condition |
---|---|
InvalidCallException | The method call is invalid. For example, a method's parameter may contain an invalid value. |
Remarks
If Optimize is called, the mesh attribute buffer contains an attribute table.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0