Share via


Mesh.SetAttributeTable Method

Sets a mesh's attribute table and specifies the number of entries stored in it.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Sub SetAttributeTable ( _
    table As AttributeRange() _
)
'Usage
Dim instance As Mesh
Dim table As AttributeRange()

instance.SetAttributeTable(table)
public void SetAttributeTable (
    AttributeRange[] table
)
public:
void SetAttributeTable (
    array<AttributeRange>^ table
)
public void SetAttributeTable (
    AttributeRange[] table
)
public function SetAttributeTable (
    table : AttributeRange[]
)
Not applicable.

Parameters

  • table
    Array of AttributeRange structures that represents the entries in the mesh attribute table.

Exceptions

Exception type Condition

InvalidCallException

The method call is invalid. For example, a method's parameter may contain an invalid value.

OutOfMemoryException

Direct3D could not allocate sufficient memory to complete the call.

Remarks

If an application tracks the information in an attribute table and rearranges the table as a result of changes to attributes or faces, the SetAttributeTable method allows the application to update the attribute tables instead of calling Optimize again.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Mesh Class
Mesh Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace