?/TD> |
Microsoft DirectX 9.0 |
Syntax
HRESULT SetAttributeTable(
CONST D3DXATTRIBUTERANGE * pAttribTable, DWORD cAttribTableSize );
Parameters
- pAttribTable
- [in] Pointer to the attribute table. The attribute table is an array of attributes, of type D3DXATTRIBUTERANGE.
- cAttribTableSize
- [in] Number of attributes in the attribute table.
Return Value
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
Remarks
If an application keeps track of the information in an attributes table, and rearranges the table as a result of changes to attributes or faces, this method allows the application to update the attributes tables instead of calling ID3DXMesh::Optimize again.
See Also
ID3DXMesh::LockAttributeBuffer