Skip to content

Getting Started

Chuck Walbourn edited this page May 28, 2025 · 3 revisions

The DirectXMesh library provides functions for mesh-processing operations to prepare geometry for rendering by Direct3D. The project includes a C++ library, some optional Utility C++ files, and a program built using the library.

flowchart TD
    A(DirectXMesh C++ Library)
    A-->C
    B(<b>Utilities</b><br />WaveFrontReader)
    B-->C
    C[meshconvert]
Loading

The DirectXMesh library itself consists of a few functional areas:

graph LR

subgraph IB/VB cache optimization
    I[Attribute Sort]
    F[OptimizeFaces]
    L[OptimizeFacesLRU]
    V[OptimizeVertices]
end

subgraph Vertex Buffers
   R[Reader]
   W[Writer]
end

subgraph Input Layouts
    1[D3D11]
    2[D3D12]
end

subgraph Geometry operations
    A[Adjacency]
    C[Clean and validate]
    N[Normals, tangents,<br />and bi-tangents]
    D[Vertex weld]
    T[Concat]
    E[Helper functions]
end
Loading

Command-line Tool

TODO

"Hello, World"

TODO

For Use

  • Universal Windows Platform apps
  • Windows desktop apps
  • Windows 11
  • Windows 10
  • Windows 8.1
  • Xbox One
  • Xbox Series X|S
  • Windows Subsystem for Linux

Architecture

  • x86
  • x64
  • ARM64

For Development

  • Visual Studio 2022
  • Visual Studio 2019 (16.11)
  • clang/LLVM v12 - v20
  • GCC 10.5, 11.4, 12.3, 13.3, 14.2
  • MinGW 12.2, 13.2
  • CMake 3.21

Related Projects

DirectX Tool Kit for DirectX 11

DirectX Tool Kit for DirectX 12

DirectXTex

DirectXMath

Tools

Test Suite

Content Exporter

DxCapsViewer

See also

DirectX Landing Page

Clone this wiki locally