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[]
)
Parameters
- table
Array of AttributeRange structures that represents the entries in the mesh attribute table.
Exceptions
Exception type | Condition |
---|---|
The method call is invalid. For example, a method's parameter may contain an invalid value. |
|
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Mesh Class
Mesh Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace