HRESULT D3DXWeldVertices ( ID3DXMesh* mesh, DWORD flags, const D3DXWELDEPSILONS* epsilons, const DWORD* adjacency, DWORD* adjacency_out, DWORD* face_remap_out, ID3DXBuffer** vertex_remap_out )
Welds together similar vertices. The similarity between vert- ices can be the position and other components such as normal and color.
|mesh||[In]||Mesh which vertices will be welded together.|
|flags||[In]||D3DXWELDEPSILONSFLAGS specifying how to weld.|
|epsilons||[In]||How similar a component needs to be for welding.|
|adjacency||[In]||Which faces are adjacent to other faces.|
|adjacency_out||[Out]||Updated adjacency after welding.|
|face_remap_out||[Out]||Which faces the old faces have been mapped to.|
|vertex_remap_out||[Out]||Which vertices the old vertices have been mapped to.|
Failure: D3DERR_INVALIDCALL, E_OUTOFMEMORY.
Attribute sorting not implemented.
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.