HRESULT D3DXOptimizeFaces ( const void* indices, UINT num_faces, UINT num_vertices, BOOL indices_are_32bit, DWORD* face_remap )
Re-orders the faces so the vertex cache is used optimally.
|indices||[In]||Pointer to an index buffer belonging to a mesh.|
|num_faces||[In]||Number of faces in the mesh.|
|num_vertices||[In]||Number of vertices in the mesh.|
|indices_are_32bit||[In]||Specifies whether indices are 32- or 16-bit.|
|face_remap||[In/Out]||The new order the faces should be drawn in.|
The face re-ordering does not use the vertex cache optimally.
Declared in "d3dx9mesh.h". https://source.winehq.org/source/include/d3dx9mesh.h
Implemented in "dlls/d3dx9_36/mesh.c". https://source.winehq.org/source/dlls/d3dx9_36/mesh.c
Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.