NAME

D3DXWeldVertices  (D3DX9_36.@)

SYNOPSIS

 HRESULT D3DXWeldVertices
 (
  ID3DXMesh*              mesh,
  DWORD                   flags,
  const D3DXWELDEPSILONS* epsilons,
  const DWORD*            adjacency,
  DWORD*                  adjacency_out,
  DWORD*                  face_remap_out,
  ID3DXBuffer**           vertex_remap_out
 )

DESCRIPTION

Welds together similar vertices. The similarity between vert- ices can be the position and other components such as normal and color.

PARAMS

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.

RETURNS

Success: D3D_OK.

Failure: D3DERR_INVALIDCALL, E_OUTOFMEMORY.

BUGS

Attribute sorting not implemented.

IMPLEMENTATION

Declared in "include/d3dx9mesh.h". gitlab.winehq.org/wine/wine/blob/master/include/d3dx9mesh.h

Implemented in "dlls/d3dx9_36/mesh.c". gitlab.winehq.org/wine/wine/blob/master/dlls/d3dx9_36/mesh.c


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.