Skip to content

Latest commit

 

History

History
83 lines (50 loc) · 2.03 KB

d3dxuvatlas.md

File metadata and controls

83 lines (50 loc) · 2.03 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Defines options for performing geodesic distance calculations, when fitting a texture to a curved surface. Use this flag to choose between high quality versus fast calculations when computing a texture atlas.
76649c57-e5ae-4e0d-a7ab-f56385a327c2
D3DXUVATLAS enumeration (D3dx9mesh.h)
reference
05/31/2018
APIRef
kbSyntax
D3DXUVATLAS
HeaderDef
d3dx9mesh.h

D3DXUVATLAS enumeration

Defines options for performing geodesic distance calculations, when fitting a texture to a curved surface. Use this flag to choose between high quality versus fast calculations when computing a texture atlas.

Syntax

typedef enum _D3DXUVATLAS { 
  D3DXUVATLAS_DEFAULT           = 1,
  D3DXUVATLAS_GEODESIC_FAST     = 2,
  D3DXUVATLAS_GEODESIC_QUALITY  = 3
} D3DXUVATLAS;

Constants

D3DXUVATLAS_DEFAULT

Meshes with more than 25k faces will have the fast geodasic distance method applied to them while meshes with fewer than 25k faces will have the higher quality geodesic distance method applied to them instead.

D3DXUVATLAS_GEODESIC_FAST

Uses approximations to improve charting speed at the cost of added stretch or more charts being output for the mesh.

D3DXUVATLAS_GEODESIC_QUALITY

Provides better quality charts, but requires more time and memory than fast.

Requirements

Requirement Value
Header
D3dx9mesh.h

See also

D3DX Enumerations