RetroArch
Classes | Macros | Typedefs | Enumerations | Functions
d3dx8mesh.h File Reference
#include "d3dx8.h"
#include "dxfile.h"
Include dependency graph for d3dx8mesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3DXATTRIBUTERANGE
 
struct  D3DXMATERIAL
 
struct  _D3DXATTRIBUTEWEIGHTS
 
struct  _D3DXWELDEPSILONS
 
struct  _D3DXBONECOMBINATION
 
struct  _D3DXINTERSECTINFO
 

Macros

#define INTERFACE   ID3DXBaseMesh
 
#define INTERFACE   ID3DXMesh
 
#define INTERFACE   ID3DXPMesh
 
#define INTERFACE   ID3DXSPMesh
 
#define UNUSED16   (0xffff)
 
#define UNUSED32   (0xffffffff)
 
#define INTERFACE   ID3DXSkinMesh
 
#define D3DX_COMP_TANGENT_NONE   0xFFFFFFFF
 

Typedefs

typedef struct ID3DXBaseMesh * LPD3DXBASEMESH
 
typedef struct ID3DXMesh * LPD3DXMESH
 
typedef struct ID3DXPMesh * LPD3DXPMESH
 
typedef struct ID3DXSPMesh * LPD3DXSPMESH
 
typedef struct ID3DXSkinMesh * LPD3DXSKINMESH
 
typedef struct _D3DXATTRIBUTERANGE D3DXATTRIBUTERANGE
 
typedef D3DXATTRIBUTERANGELPD3DXATTRIBUTERANGE
 
typedef struct D3DXMATERIALLPD3DXMATERIAL
 
typedef struct _D3DXATTRIBUTEWEIGHTS D3DXATTRIBUTEWEIGHTS
 
typedef D3DXATTRIBUTEWEIGHTSLPD3DXATTRIBUTEWEIGHTS
 
typedef struct _D3DXWELDEPSILONS D3DXWELDEPSILONS
 
typedef D3DXWELDEPSILONSLPD3DXWELDEPSILONS
 
typedef struct _D3DXBONECOMBINATION D3DXBONECOMBINATION
 
typedef struct _D3DXBONECOMBINATIONLPD3DXBONECOMBINATION
 
typedef struct _D3DXINTERSECTINFO D3DXINTERSECTINFO
 
typedef struct _D3DXINTERSECTINFOLPD3DXINTERSECTINFO
 

Enumerations

enum  _D3DXMESH {
  D3DXMESH_32BIT = 0x001, D3DXMESH_DONOTCLIP = 0x002, D3DXMESH_POINTS = 0x004, D3DXMESH_RTPATCHES = 0x008,
  D3DXMESH_NPATCHES = 0x4000, D3DXMESH_VB_SYSTEMMEM = 0x010, D3DXMESH_VB_MANAGED = 0x020, D3DXMESH_VB_WRITEONLY = 0x040,
  D3DXMESH_VB_DYNAMIC = 0x080, D3DXMESH_VB_SOFTWAREPROCESSING = 0x8000, D3DXMESH_IB_SYSTEMMEM = 0x100, D3DXMESH_IB_MANAGED = 0x200,
  D3DXMESH_IB_WRITEONLY = 0x400, D3DXMESH_IB_DYNAMIC = 0x800, D3DXMESH_IB_SOFTWAREPROCESSING = 0x10000, D3DXMESH_VB_SHARE = 0x1000,
  D3DXMESH_USEHWONLY = 0x2000, D3DXMESH_SYSTEMMEM = 0x110, D3DXMESH_MANAGED = 0x220, D3DXMESH_WRITEONLY = 0x440,
  D3DXMESH_DYNAMIC = 0x880, D3DXMESH_SOFTWAREPROCESSING = 0x18000, D3DXMESH_32BIT = 0x001, D3DXMESH_DONOTCLIP = 0x002,
  D3DXMESH_POINTS = 0x004, D3DXMESH_RTPATCHES = 0x008, D3DXMESH_NPATCHES = 0x4000, D3DXMESH_VB_SYSTEMMEM = 0x010,
  D3DXMESH_VB_MANAGED = 0x020, D3DXMESH_VB_WRITEONLY = 0x040, D3DXMESH_VB_DYNAMIC = 0x080, D3DXMESH_VB_SOFTWAREPROCESSING = 0x8000,
  D3DXMESH_IB_SYSTEMMEM = 0x100, D3DXMESH_IB_MANAGED = 0x200, D3DXMESH_IB_WRITEONLY = 0x400, D3DXMESH_IB_DYNAMIC = 0x800,
  D3DXMESH_IB_SOFTWAREPROCESSING = 0x10000, D3DXMESH_VB_SHARE = 0x1000, D3DXMESH_USEHWONLY = 0x2000, D3DXMESH_SYSTEMMEM = 0x110,
  D3DXMESH_MANAGED = 0x220, D3DXMESH_WRITEONLY = 0x440, D3DXMESH_DYNAMIC = 0x880, D3DXMESH_SOFTWAREPROCESSING = 0x18000
}
 
enum  _D3DXMESHSIMP { D3DXMESHSIMP_VERTEX = 0x1, D3DXMESHSIMP_FACE = 0x2, D3DXMESHSIMP_VERTEX = 0x1, D3DXMESHSIMP_FACE = 0x2 }
 
enum  _MAX_FVF_DECL_SIZE { MAX_FVF_DECL_SIZE = 20, MAX_FVF_DECL_SIZE = MAXD3DDECLLENGTH + 1 }
 
enum  _D3DXWELDEPSILONSFLAGS {
  D3DXWELDEPSILONS_WELDALL = 0x1, D3DXWELDEPSILONS_WELDPARTIALMATCHES = 0x2, D3DXWELDEPSILONS_DONOTREMOVEVERTICES = 0x4, D3DXWELDEPSILONS_WELDALL = 0x1,
  D3DXWELDEPSILONS_WELDPARTIALMATCHES = 0x2, D3DXWELDEPSILONS_DONOTREMOVEVERTICES = 0x4, D3DXWELDEPSILONS_DONOTSPLIT = 0x8
}
 
enum  _D3DXMESHOPT {
  D3DXMESHOPT_COMPACT = 0x01000000, D3DXMESHOPT_ATTRSORT = 0x02000000, D3DXMESHOPT_VERTEXCACHE = 0x04000000, D3DXMESHOPT_STRIPREORDER = 0x08000000,
  D3DXMESHOPT_IGNOREVERTS = 0x10000000, D3DXMESHOPT_SHAREVB = 0x1000, D3DXMESHOPT_COMPACT = 0x01000000, D3DXMESHOPT_ATTRSORT = 0x02000000,
  D3DXMESHOPT_VERTEXCACHE = 0x04000000, D3DXMESHOPT_STRIPREORDER = 0x08000000, D3DXMESHOPT_IGNOREVERTS = 0x10000000, D3DXMESHOPT_DONOTSPLIT = 0x20000000,
  D3DXMESHOPT_DEVICEINDEPENDENT = 0x00400000
}
 
enum  _D3DXERR {
  D3DXERR_CANNOTMODIFYINDEXBUFFER = MAKE_DDHRESULT(2900), D3DXERR_INVALIDMESH = MAKE_DDHRESULT(2901), D3DXERR_CANNOTATTRSORT = MAKE_DDHRESULT(2902), D3DXERR_SKINNINGNOTSUPPORTED = MAKE_DDHRESULT(2903),
  D3DXERR_TOOMANYINFLUENCES = MAKE_DDHRESULT(2904), D3DXERR_INVALIDDATA = MAKE_DDHRESULT(2905), D3DXERR_LOADEDMESHASNODATA = MAKE_DDHRESULT(2906), D3DXERR_CANNOTMODIFYINDEXBUFFER = MAKE_DDHRESULT(2900),
  D3DXERR_INVALIDMESH = MAKE_DDHRESULT(2901), D3DXERR_CANNOTATTRSORT = MAKE_DDHRESULT(2902), D3DXERR_SKINNINGNOTSUPPORTED = MAKE_DDHRESULT(2903), D3DXERR_TOOMANYINFLUENCES = MAKE_DDHRESULT(2904),
  D3DXERR_INVALIDDATA = MAKE_DDHRESULT(2905), D3DXERR_LOADEDMESHASNODATA = MAKE_DDHRESULT(2906), D3DXERR_DUPLICATENAMEDFRAGMENT = MAKE_DDHRESULT(2907), D3DXERR_CANNOTREMOVELASTITEM = MAKE_DDHRESULT(2908)
}
 

Functions

 DEFINE_GUID (IID_ID3DXBaseMesh, 0x2a835771, 0xbf4d, 0x43f4, 0x8e, 0x14, 0x82, 0xa8, 0x9, 0xf1, 0x7d, 0x8a)
 
 DEFINE_GUID (IID_ID3DXMesh, 0xccae5c3b, 0x4dd1, 0x4d0f, 0x99, 0x7e, 0x46, 0x84, 0xca, 0x64, 0x55, 0x7f)
 
 DEFINE_GUID (IID_ID3DXPMesh, 0x19fbe386, 0xc282, 0x4659, 0x97, 0xbd, 0xcb, 0x86, 0x9b, 0x8, 0x4a, 0x6c)
 
 DEFINE_GUID (IID_ID3DXSPMesh, 0x4e3ca05c, 0xd4ff, 0x4d11, 0x8a, 0x2, 0x16, 0x45, 0x9e, 0x8, 0xf6, 0xf4)
 
 DEFINE_GUID (IID_ID3DXSkinMesh, 0x8db06ecc, 0xebfc, 0x408a, 0x94, 0x4, 0x30, 0x74, 0xb4, 0x77, 0x35, 0x15)
 
 DECLARE_INTERFACE_ (ID3DXBaseMesh, IUnknown)
 
 DECLARE_INTERFACE_ (ID3DXMesh, ID3DXBaseMesh)
 
 DECLARE_INTERFACE_ (ID3DXPMesh, ID3DXBaseMesh)
 
 DECLARE_INTERFACE_ (ID3DXSPMesh, IUnknown)
 
 DECLARE_INTERFACE_ (ID3DXSkinMesh, IUnknown)
 
HRESULT WINAPI D3DXCreateMesh (DWORD NumFaces, DWORD NumVertices, DWORD Options, CONST DWORD *pDeclaration, LPDIRECT3DDEVICE8 pD3D, LPD3DXMESH *ppMesh)
 
HRESULT WINAPI D3DXCreateMeshFVF (DWORD NumFaces, DWORD NumVertices, DWORD Options, DWORD FVF, LPDIRECT3DDEVICE8 pD3D, LPD3DXMESH *ppMesh)
 
HRESULT WINAPI D3DXCreateSPMesh (LPD3DXMESH pMesh, CONST DWORD *pAdjacency, CONST LPD3DXATTRIBUTEWEIGHTS pVertexAttributeWeights, CONST FLOAT *pVertexWeights, LPD3DXSPMESH *ppSMesh)
 
HRESULT WINAPI D3DXCleanMesh (LPD3DXMESH pMeshIn, CONST DWORD *pAdjacencyIn, LPD3DXMESH *ppMeshOut, DWORD *pAdjacencyOut, LPD3DXBUFFER *ppErrorsAndWarnings)
 
HRESULT WINAPI D3DXValidMesh (LPD3DXMESH pMeshIn, CONST DWORD *pAdjacency, LPD3DXBUFFER *ppErrorsAndWarnings)
 
HRESULT WINAPI D3DXGeneratePMesh (LPD3DXMESH pMesh, CONST DWORD *pAdjacency, CONST LPD3DXATTRIBUTEWEIGHTS pVertexAttributeWeights, CONST FLOAT *pVertexWeights, DWORD MinValue, DWORD Options, LPD3DXPMESH *ppPMesh)
 
HRESULT WINAPI D3DXSimplifyMesh (LPD3DXMESH pMesh, CONST DWORD *pAdjacency, CONST LPD3DXATTRIBUTEWEIGHTS pVertexAttributeWeights, CONST FLOAT *pVertexWeights, DWORD MinValue, DWORD Options, LPD3DXMESH *ppMesh)
 
HRESULT WINAPI D3DXComputeBoundingSphere (PVOID pPointsFVF, DWORD NumVertices, DWORD FVF, D3DXVECTOR3 *pCenter, FLOAT *pRadius)
 
HRESULT WINAPI D3DXComputeBoundingBox (PVOID pPointsFVF, DWORD NumVertices, DWORD FVF, D3DXVECTOR3 *pMin, D3DXVECTOR3 *pMax)
 
HRESULT WINAPI D3DXComputeNormals (LPD3DXBASEMESH pMesh, CONST DWORD *pAdjacency)
 
HRESULT WINAPI D3DXCreateBuffer (DWORD NumBytes, LPD3DXBUFFER *ppBuffer)
 
HRESULT WINAPI D3DXLoadMeshFromX (LPSTR pFilename, DWORD Options, LPDIRECT3DDEVICE8 pD3D, LPD3DXBUFFER *ppAdjacency, LPD3DXBUFFER *ppMaterials, DWORD *pNumMaterials, LPD3DXMESH *ppMesh)
 
HRESULT WINAPI D3DXLoadMeshFromXInMemory (PBYTE Memory, DWORD SizeOfMemory, DWORD Options, LPDIRECT3DDEVICE8 pD3D, LPD3DXBUFFER *ppAdjacency, LPD3DXBUFFER *ppMaterials, DWORD *pNumMaterials, LPD3DXMESH *ppMesh)
 
HRESULT WINAPI D3DXLoadMeshFromXResource (HMODULE Module, LPCTSTR Name, LPCTSTR Type, DWORD Options, LPDIRECT3DDEVICE8 pD3D, LPD3DXBUFFER *ppAdjacency, LPD3DXBUFFER *ppMaterials, DWORD *pNumMaterials, LPD3DXMESH *ppMesh)
 
HRESULT WINAPI D3DXSaveMeshToX (LPSTR pFilename, LPD3DXMESH pMesh, CONST DWORD *pAdjacency, CONST LPD3DXMATERIAL pMaterials, DWORD NumMaterials, DWORD Format)
 
HRESULT WINAPI D3DXCreatePMeshFromStream (IStream *pStream, DWORD Options, LPDIRECT3DDEVICE8 pD3DDevice, LPD3DXBUFFER *ppMaterials, DWORD *pNumMaterials, LPD3DXPMESH *ppPMesh)
 
HRESULT WINAPI D3DXCreateSkinMesh (DWORD NumFaces, DWORD NumVertices, DWORD NumBones, DWORD Options, CONST DWORD *pDeclaration, LPDIRECT3DDEVICE8 pD3D, LPD3DXSKINMESH *ppSkinMesh)
 
HRESULT WINAPI D3DXCreateSkinMeshFVF (DWORD NumFaces, DWORD NumVertices, DWORD NumBones, DWORD Options, DWORD FVF, LPDIRECT3DDEVICE8 pD3D, LPD3DXSKINMESH *ppSkinMesh)
 
HRESULT WINAPI D3DXCreateSkinMeshFromMesh (LPD3DXMESH pMesh, DWORD numBones, LPD3DXSKINMESH *ppSkinMesh)
 
HRESULT WINAPI D3DXLoadMeshFromXof (LPDIRECTXFILEDATA pXofObjMesh, DWORD Options, LPDIRECT3DDEVICE8 pD3DDevice, LPD3DXBUFFER *ppAdjacency, LPD3DXBUFFER *ppMaterials, DWORD *pNumMaterials, LPD3DXMESH *ppMesh)
 
HRESULT WINAPI D3DXLoadSkinMeshFromXof (LPDIRECTXFILEDATA pxofobjMesh, DWORD Options, LPDIRECT3DDEVICE8 pD3D, LPD3DXBUFFER *ppAdjacency, LPD3DXBUFFER *ppMaterials, DWORD *pMatOut, LPD3DXBUFFER *ppBoneNames, LPD3DXBUFFER *ppBoneTransforms, LPD3DXSKINMESH *ppMesh)
 
HRESULT WINAPI D3DXTessellateNPatches (LPD3DXMESH pMeshIn, CONST DWORD *pAdjacencyIn, FLOAT NumSegs, BOOL QuadraticInterpNormals, LPD3DXMESH *ppMeshOut, LPD3DXBUFFER *ppAdjacencyOut)
 
UINT WINAPI D3DXGetFVFVertexSize (DWORD FVF)
 
HRESULT WINAPI D3DXDeclaratorFromFVF (DWORD FVF, DWORD Declaration[MAX_FVF_DECL_SIZE])
 
HRESULT WINAPI D3DXFVFFromDeclarator (CONST DWORD *pDeclarator, DWORD *pFVF)
 
HRESULT WINAPI D3DXWeldVertices (CONST LPD3DXMESH pMesh, LPD3DXWELDEPSILONS pEpsilons, CONST DWORD *pAdjacencyIn, DWORD *pAdjacencyOut, DWORD *pFaceRemap, LPD3DXBUFFER *ppVertexRemap)
 
HRESULT WINAPI D3DXIntersect (LPD3DXBASEMESH pMesh, CONST D3DXVECTOR3 *pRayPos, CONST D3DXVECTOR3 *pRayDir, BOOL *pHit, DWORD *pFaceIndex, FLOAT *pU, FLOAT *pV, FLOAT *pDist, LPD3DXBUFFER *ppAllHits, DWORD *pCountOfHits)
 
HRESULT WINAPI D3DXIntersectSubset (LPD3DXBASEMESH pMesh, DWORD AttribId, CONST D3DXVECTOR3 *pRayPos, CONST D3DXVECTOR3 *pRayDir, BOOL *pHit, DWORD *pFaceIndex, FLOAT *pU, FLOAT *pV, FLOAT *pDist, LPD3DXBUFFER *ppAllHits, DWORD *pCountOfHits)
 
HRESULT WINAPI D3DXSplitMesh (CONST LPD3DXMESH pMeshIn, CONST DWORD *pAdjacencyIn, CONST DWORD MaxSize, CONST DWORD Options, DWORD *pMeshesOut, LPD3DXBUFFER *ppMeshArrayOut, LPD3DXBUFFER *ppAdjacencyArrayOut, LPD3DXBUFFER *ppFaceRemapArrayOut, LPD3DXBUFFER *ppVertRemapArrayOut)
 
BOOL D3DXIntersectTri (CONST D3DXVECTOR3 *p0, CONST D3DXVECTOR3 *p1, CONST D3DXVECTOR3 *p2, CONST D3DXVECTOR3 *pRayPos, CONST D3DXVECTOR3 *pRayDir, FLOAT *pU, FLOAT *pV, FLOAT *pDist)
 
BOOL WINAPI D3DXSphereBoundProbe (CONST D3DXVECTOR3 *pCenter, FLOAT Radius, CONST D3DXVECTOR3 *pRayPosition, CONST D3DXVECTOR3 *pRayDirection)
 
BOOL WINAPI D3DXBoxBoundProbe (CONST D3DXVECTOR3 *pMin, CONST D3DXVECTOR3 *pMax, CONST D3DXVECTOR3 *pRayPosition, CONST D3DXVECTOR3 *pRayDirection)
 
HRESULT WINAPI D3DXComputeTangent (LPD3DXMESH InMesh, DWORD TexStage, LPD3DXMESH OutMesh, DWORD TexStageUVec, DWORD TexStageVVec, DWORD Wrap, DWORD *Adjacency)
 
HRESULT WINAPI D3DXConvertMeshSubsetToSingleStrip (LPD3DXBASEMESH MeshIn, DWORD AttribId, DWORD IBOptions, LPDIRECT3DINDEXBUFFER8 *ppIndexBuffer, DWORD *pNumIndices)
 
HRESULT WINAPI D3DXConvertMeshSubsetToStrips (LPD3DXBASEMESH MeshIn, DWORD AttribId, DWORD IBOptions, LPDIRECT3DINDEXBUFFER8 *ppIndexBuffer, DWORD *pNumIndices, LPD3DXBUFFER *ppStripLengths, DWORD *pNumStrips)
 

Macro Definition Documentation

◆ D3DX_COMP_TANGENT_NONE

#define D3DX_COMP_TANGENT_NONE   0xFFFFFFFF

◆ INTERFACE [1/5]

#define INTERFACE   ID3DXBaseMesh

◆ INTERFACE [2/5]

#define INTERFACE   ID3DXMesh

◆ INTERFACE [3/5]

#define INTERFACE   ID3DXPMesh

◆ INTERFACE [4/5]

#define INTERFACE   ID3DXSPMesh

◆ INTERFACE [5/5]

#define INTERFACE   ID3DXSkinMesh

◆ UNUSED16

#define UNUSED16   (0xffff)

◆ UNUSED32

#define UNUSED32   (0xffffffff)

Typedef Documentation

◆ D3DXATTRIBUTERANGE

◆ D3DXATTRIBUTEWEIGHTS

◆ D3DXBONECOMBINATION

◆ D3DXINTERSECTINFO

◆ D3DXWELDEPSILONS

◆ LPD3DXATTRIBUTERANGE

◆ LPD3DXATTRIBUTEWEIGHTS

◆ LPD3DXBASEMESH

typedef struct ID3DXBaseMesh* LPD3DXBASEMESH

◆ LPD3DXBONECOMBINATION

◆ LPD3DXINTERSECTINFO

◆ LPD3DXMATERIAL

typedef struct D3DXMATERIAL* LPD3DXMATERIAL

◆ LPD3DXMESH

typedef struct ID3DXMesh* LPD3DXMESH

◆ LPD3DXPMESH

typedef struct ID3DXPMesh* LPD3DXPMESH

◆ LPD3DXSKINMESH

typedef struct ID3DXSkinMesh* LPD3DXSKINMESH

◆ LPD3DXSPMESH

typedef struct ID3DXSPMesh* LPD3DXSPMESH

◆ LPD3DXWELDEPSILONS

Enumeration Type Documentation

◆ _D3DXERR

enum _D3DXERR
Enumerator
D3DXERR_CANNOTMODIFYINDEXBUFFER 
D3DXERR_INVALIDMESH 
D3DXERR_CANNOTATTRSORT 
D3DXERR_SKINNINGNOTSUPPORTED 
D3DXERR_TOOMANYINFLUENCES 
D3DXERR_INVALIDDATA 
D3DXERR_LOADEDMESHASNODATA 
D3DXERR_CANNOTMODIFYINDEXBUFFER 
D3DXERR_INVALIDMESH 
D3DXERR_CANNOTATTRSORT 
D3DXERR_SKINNINGNOTSUPPORTED 
D3DXERR_TOOMANYINFLUENCES 
D3DXERR_INVALIDDATA 
D3DXERR_LOADEDMESHASNODATA 
D3DXERR_DUPLICATENAMEDFRAGMENT 
D3DXERR_CANNOTREMOVELASTITEM 

◆ _D3DXMESH

enum _D3DXMESH
Enumerator
D3DXMESH_32BIT 
D3DXMESH_DONOTCLIP 
D3DXMESH_POINTS 
D3DXMESH_RTPATCHES 
D3DXMESH_NPATCHES 
D3DXMESH_VB_SYSTEMMEM 
D3DXMESH_VB_MANAGED 
D3DXMESH_VB_WRITEONLY 
D3DXMESH_VB_DYNAMIC 
D3DXMESH_VB_SOFTWAREPROCESSING 
D3DXMESH_IB_SYSTEMMEM 
D3DXMESH_IB_MANAGED 
D3DXMESH_IB_WRITEONLY 
D3DXMESH_IB_DYNAMIC 
D3DXMESH_IB_SOFTWAREPROCESSING 
D3DXMESH_VB_SHARE 
D3DXMESH_USEHWONLY 
D3DXMESH_SYSTEMMEM 
D3DXMESH_MANAGED 
D3DXMESH_WRITEONLY 
D3DXMESH_DYNAMIC 
D3DXMESH_SOFTWAREPROCESSING 
D3DXMESH_32BIT 
D3DXMESH_DONOTCLIP 
D3DXMESH_POINTS 
D3DXMESH_RTPATCHES 
D3DXMESH_NPATCHES 
D3DXMESH_VB_SYSTEMMEM 
D3DXMESH_VB_MANAGED 
D3DXMESH_VB_WRITEONLY 
D3DXMESH_VB_DYNAMIC 
D3DXMESH_VB_SOFTWAREPROCESSING 
D3DXMESH_IB_SYSTEMMEM 
D3DXMESH_IB_MANAGED 
D3DXMESH_IB_WRITEONLY 
D3DXMESH_IB_DYNAMIC 
D3DXMESH_IB_SOFTWAREPROCESSING 
D3DXMESH_VB_SHARE 
D3DXMESH_USEHWONLY 
D3DXMESH_SYSTEMMEM 
D3DXMESH_MANAGED 
D3DXMESH_WRITEONLY 
D3DXMESH_DYNAMIC 
D3DXMESH_SOFTWAREPROCESSING 

◆ _D3DXMESHOPT

Enumerator
D3DXMESHOPT_COMPACT 
D3DXMESHOPT_ATTRSORT 
D3DXMESHOPT_VERTEXCACHE 
D3DXMESHOPT_STRIPREORDER 
D3DXMESHOPT_IGNOREVERTS 
D3DXMESHOPT_SHAREVB 
D3DXMESHOPT_COMPACT 
D3DXMESHOPT_ATTRSORT 
D3DXMESHOPT_VERTEXCACHE 
D3DXMESHOPT_STRIPREORDER 
D3DXMESHOPT_IGNOREVERTS 
D3DXMESHOPT_DONOTSPLIT 
D3DXMESHOPT_DEVICEINDEPENDENT 

◆ _D3DXMESHSIMP

Enumerator
D3DXMESHSIMP_VERTEX 
D3DXMESHSIMP_FACE 
D3DXMESHSIMP_VERTEX 
D3DXMESHSIMP_FACE 

◆ _D3DXWELDEPSILONSFLAGS

Enumerator
D3DXWELDEPSILONS_WELDALL 
D3DXWELDEPSILONS_WELDPARTIALMATCHES 
D3DXWELDEPSILONS_DONOTREMOVEVERTICES 
D3DXWELDEPSILONS_WELDALL 
D3DXWELDEPSILONS_WELDPARTIALMATCHES 
D3DXWELDEPSILONS_DONOTREMOVEVERTICES 
D3DXWELDEPSILONS_DONOTSPLIT 

◆ _MAX_FVF_DECL_SIZE

Enumerator
MAX_FVF_DECL_SIZE 
MAX_FVF_DECL_SIZE 

Function Documentation

◆ D3DXBoxBoundProbe()

BOOL WINAPI D3DXBoxBoundProbe ( CONST D3DXVECTOR3 pMin,
CONST D3DXVECTOR3 pMax,
CONST D3DXVECTOR3 pRayPosition,
CONST D3DXVECTOR3 pRayDirection 
)

◆ D3DXCleanMesh()

HRESULT WINAPI D3DXCleanMesh ( LPD3DXMESH  pMeshIn,
CONST DWORD *  pAdjacencyIn,
LPD3DXMESH ppMeshOut,
DWORD *  pAdjacencyOut,
LPD3DXBUFFER ppErrorsAndWarnings 
)

◆ D3DXComputeBoundingBox()

HRESULT WINAPI D3DXComputeBoundingBox ( PVOID  pPointsFVF,
DWORD  NumVertices,
DWORD  FVF,
D3DXVECTOR3 pMin,
D3DXVECTOR3 pMax 
)

◆ D3DXComputeBoundingSphere()

HRESULT WINAPI D3DXComputeBoundingSphere ( PVOID  pPointsFVF,
DWORD  NumVertices,
DWORD  FVF,
D3DXVECTOR3 pCenter,
FLOAT pRadius 
)

◆ D3DXComputeNormals()

HRESULT WINAPI D3DXComputeNormals ( LPD3DXBASEMESH  pMesh,
CONST DWORD *  pAdjacency 
)

◆ D3DXComputeTangent()

HRESULT WINAPI D3DXComputeTangent ( LPD3DXMESH  InMesh,
DWORD  TexStage,
LPD3DXMESH  OutMesh,
DWORD  TexStageUVec,
DWORD  TexStageVVec,
DWORD  Wrap,
DWORD *  Adjacency 
)

◆ D3DXConvertMeshSubsetToSingleStrip()

HRESULT WINAPI D3DXConvertMeshSubsetToSingleStrip ( LPD3DXBASEMESH  MeshIn,
DWORD  AttribId,
DWORD  IBOptions,
LPDIRECT3DINDEXBUFFER8 ppIndexBuffer,
DWORD *  pNumIndices 
)

◆ D3DXConvertMeshSubsetToStrips()

HRESULT WINAPI D3DXConvertMeshSubsetToStrips ( LPD3DXBASEMESH  MeshIn,
DWORD  AttribId,
DWORD  IBOptions,
LPDIRECT3DINDEXBUFFER8 ppIndexBuffer,
DWORD *  pNumIndices,
LPD3DXBUFFER ppStripLengths,
DWORD *  pNumStrips 
)

◆ D3DXCreateBuffer()

HRESULT WINAPI D3DXCreateBuffer ( DWORD  NumBytes,
LPD3DXBUFFER ppBuffer 
)

◆ D3DXCreateMesh()

HRESULT WINAPI D3DXCreateMesh ( DWORD  NumFaces,
DWORD  NumVertices,
DWORD  Options,
CONST DWORD *  pDeclaration,
LPDIRECT3DDEVICE8  pD3D,
LPD3DXMESH ppMesh 
)

◆ D3DXCreateMeshFVF()

HRESULT WINAPI D3DXCreateMeshFVF ( DWORD  NumFaces,
DWORD  NumVertices,
DWORD  Options,
DWORD  FVF,
LPDIRECT3DDEVICE8  pD3D,
LPD3DXMESH ppMesh 
)

◆ D3DXCreatePMeshFromStream()

HRESULT WINAPI D3DXCreatePMeshFromStream ( IStream *  pStream,
DWORD  Options,
LPDIRECT3DDEVICE8  pD3DDevice,
LPD3DXBUFFER ppMaterials,
DWORD *  pNumMaterials,
LPD3DXPMESH ppPMesh 
)

◆ D3DXCreateSkinMesh()

HRESULT WINAPI D3DXCreateSkinMesh ( DWORD  NumFaces,
DWORD  NumVertices,
DWORD  NumBones,
DWORD  Options,
CONST DWORD *  pDeclaration,
LPDIRECT3DDEVICE8  pD3D,
LPD3DXSKINMESH ppSkinMesh 
)

◆ D3DXCreateSkinMeshFromMesh()

HRESULT WINAPI D3DXCreateSkinMeshFromMesh ( LPD3DXMESH  pMesh,
DWORD  numBones,
LPD3DXSKINMESH ppSkinMesh 
)

◆ D3DXCreateSkinMeshFVF()

HRESULT WINAPI D3DXCreateSkinMeshFVF ( DWORD  NumFaces,
DWORD  NumVertices,
DWORD  NumBones,
DWORD  Options,
DWORD  FVF,
LPDIRECT3DDEVICE8  pD3D,
LPD3DXSKINMESH ppSkinMesh 
)

◆ D3DXCreateSPMesh()

HRESULT WINAPI D3DXCreateSPMesh ( LPD3DXMESH  pMesh,
CONST DWORD *  pAdjacency,
CONST LPD3DXATTRIBUTEWEIGHTS  pVertexAttributeWeights,
CONST FLOAT pVertexWeights,
LPD3DXSPMESH ppSMesh 
)

◆ D3DXDeclaratorFromFVF()

HRESULT WINAPI D3DXDeclaratorFromFVF ( DWORD  FVF,
DWORD  Declaration[MAX_FVF_DECL_SIZE] 
)

◆ D3DXFVFFromDeclarator()

HRESULT WINAPI D3DXFVFFromDeclarator ( CONST DWORD *  pDeclarator,
DWORD *  pFVF 
)

◆ D3DXGeneratePMesh()

HRESULT WINAPI D3DXGeneratePMesh ( LPD3DXMESH  pMesh,
CONST DWORD *  pAdjacency,
CONST LPD3DXATTRIBUTEWEIGHTS  pVertexAttributeWeights,
CONST FLOAT pVertexWeights,
DWORD  MinValue,
DWORD  Options,
LPD3DXPMESH ppPMesh 
)

◆ D3DXGetFVFVertexSize()

UINT WINAPI D3DXGetFVFVertexSize ( DWORD  FVF)

◆ D3DXIntersect()

HRESULT WINAPI D3DXIntersect ( LPD3DXBASEMESH  pMesh,
CONST D3DXVECTOR3 pRayPos,
CONST D3DXVECTOR3 pRayDir,
BOOL pHit,
DWORD *  pFaceIndex,
FLOAT pU,
FLOAT pV,
FLOAT pDist,
LPD3DXBUFFER ppAllHits,
DWORD *  pCountOfHits 
)

◆ D3DXIntersectSubset()

HRESULT WINAPI D3DXIntersectSubset ( LPD3DXBASEMESH  pMesh,
DWORD  AttribId,
CONST D3DXVECTOR3 pRayPos,
CONST D3DXVECTOR3 pRayDir,
BOOL pHit,
DWORD *  pFaceIndex,
FLOAT pU,
FLOAT pV,
FLOAT pDist,
LPD3DXBUFFER ppAllHits,
DWORD *  pCountOfHits 
)

◆ D3DXIntersectTri()

BOOL D3DXIntersectTri ( CONST D3DXVECTOR3 p0,
CONST D3DXVECTOR3 p1,
CONST D3DXVECTOR3 p2,
CONST D3DXVECTOR3 pRayPos,
CONST D3DXVECTOR3 pRayDir,
FLOAT pU,
FLOAT pV,
FLOAT pDist 
)

◆ D3DXLoadMeshFromX()

HRESULT WINAPI D3DXLoadMeshFromX ( LPSTR  pFilename,
DWORD  Options,
LPDIRECT3DDEVICE8  pD3D,
LPD3DXBUFFER ppAdjacency,
LPD3DXBUFFER ppMaterials,
DWORD *  pNumMaterials,
LPD3DXMESH ppMesh 
)

◆ D3DXLoadMeshFromXInMemory()

HRESULT WINAPI D3DXLoadMeshFromXInMemory ( PBYTE  Memory,
DWORD  SizeOfMemory,
DWORD  Options,
LPDIRECT3DDEVICE8  pD3D,
LPD3DXBUFFER ppAdjacency,
LPD3DXBUFFER ppMaterials,
DWORD *  pNumMaterials,
LPD3DXMESH ppMesh 
)

◆ D3DXLoadMeshFromXof()

HRESULT WINAPI D3DXLoadMeshFromXof ( LPDIRECTXFILEDATA  pXofObjMesh,
DWORD  Options,
LPDIRECT3DDEVICE8  pD3DDevice,
LPD3DXBUFFER ppAdjacency,
LPD3DXBUFFER ppMaterials,
DWORD *  pNumMaterials,
LPD3DXMESH ppMesh 
)

◆ D3DXLoadMeshFromXResource()

HRESULT WINAPI D3DXLoadMeshFromXResource ( HMODULE  Module,
LPCTSTR  Name,
LPCTSTR  Type,
DWORD  Options,
LPDIRECT3DDEVICE8  pD3D,
LPD3DXBUFFER ppAdjacency,
LPD3DXBUFFER ppMaterials,
DWORD *  pNumMaterials,
LPD3DXMESH ppMesh 
)

◆ D3DXLoadSkinMeshFromXof()

HRESULT WINAPI D3DXLoadSkinMeshFromXof ( LPDIRECTXFILEDATA  pxofobjMesh,
DWORD  Options,
LPDIRECT3DDEVICE8  pD3D,
LPD3DXBUFFER ppAdjacency,
LPD3DXBUFFER ppMaterials,
DWORD *  pMatOut,
LPD3DXBUFFER ppBoneNames,
LPD3DXBUFFER ppBoneTransforms,
LPD3DXSKINMESH ppMesh 
)

◆ D3DXSaveMeshToX()

HRESULT WINAPI D3DXSaveMeshToX ( LPSTR  pFilename,
LPD3DXMESH  pMesh,
CONST DWORD *  pAdjacency,
CONST LPD3DXMATERIAL  pMaterials,
DWORD  NumMaterials,
DWORD  Format 
)

◆ D3DXSimplifyMesh()

HRESULT WINAPI D3DXSimplifyMesh ( LPD3DXMESH  pMesh,
CONST DWORD *  pAdjacency,
CONST LPD3DXATTRIBUTEWEIGHTS  pVertexAttributeWeights,
CONST FLOAT pVertexWeights,
DWORD  MinValue,
DWORD  Options,
LPD3DXMESH ppMesh 
)

◆ D3DXSphereBoundProbe()

BOOL WINAPI D3DXSphereBoundProbe ( CONST D3DXVECTOR3 pCenter,
FLOAT  Radius,
CONST D3DXVECTOR3 pRayPosition,
CONST D3DXVECTOR3 pRayDirection 
)

◆ D3DXSplitMesh()

HRESULT WINAPI D3DXSplitMesh ( CONST LPD3DXMESH  pMeshIn,
CONST DWORD *  pAdjacencyIn,
CONST DWORD  MaxSize,
CONST DWORD  Options,
DWORD *  pMeshesOut,
LPD3DXBUFFER ppMeshArrayOut,
LPD3DXBUFFER ppAdjacencyArrayOut,
LPD3DXBUFFER ppFaceRemapArrayOut,
LPD3DXBUFFER ppVertRemapArrayOut 
)

◆ D3DXTessellateNPatches()

HRESULT WINAPI D3DXTessellateNPatches ( LPD3DXMESH  pMeshIn,
CONST DWORD *  pAdjacencyIn,
FLOAT  NumSegs,
BOOL  QuadraticInterpNormals,
LPD3DXMESH ppMeshOut,
LPD3DXBUFFER ppAdjacencyOut 
)

◆ D3DXValidMesh()

HRESULT WINAPI D3DXValidMesh ( LPD3DXMESH  pMeshIn,
CONST DWORD *  pAdjacency,
LPD3DXBUFFER ppErrorsAndWarnings 
)

◆ D3DXWeldVertices()

HRESULT WINAPI D3DXWeldVertices ( CONST LPD3DXMESH  pMesh,
LPD3DXWELDEPSILONS  pEpsilons,
CONST DWORD *  pAdjacencyIn,
DWORD *  pAdjacencyOut,
DWORD *  pFaceRemap,
LPD3DXBUFFER ppVertexRemap 
)

◆ DECLARE_INTERFACE_() [1/5]

DECLARE_INTERFACE_ ( ID3DXBaseMesh  ,
IUnknown   
)
Here is the call graph for this function:

◆ DECLARE_INTERFACE_() [2/5]

DECLARE_INTERFACE_ ( ID3DXMesh  ,
ID3DXBaseMesh   
)
Here is the call graph for this function:

◆ DECLARE_INTERFACE_() [3/5]

DECLARE_INTERFACE_ ( ID3DXPMesh  ,
ID3DXBaseMesh   
)
Here is the call graph for this function:

◆ DECLARE_INTERFACE_() [4/5]

DECLARE_INTERFACE_ ( ID3DXSPMesh  ,
IUnknown   
)
Here is the call graph for this function:

◆ DECLARE_INTERFACE_() [5/5]

DECLARE_INTERFACE_ ( ID3DXSkinMesh  ,
IUnknown   
)
Here is the call graph for this function:

◆ DEFINE_GUID() [1/5]

DEFINE_GUID ( IID_ID3DXBaseMesh  ,
0x2a835771  ,
0xbf4d  ,
0x43f4  ,
0x8e  ,
0x14  ,
0x82  ,
0xa8  ,
0x9  ,
0xf1  ,
0x7d  ,
0x8a   
)

◆ DEFINE_GUID() [2/5]

DEFINE_GUID ( IID_ID3DXMesh  ,
0xccae5c3b  ,
0x4dd1  ,
0x4d0f  ,
0x99  ,
0x7e  ,
0x46  ,
0x84  ,
0xca  ,
0x64  ,
0x55  ,
0x7f   
)

◆ DEFINE_GUID() [3/5]

DEFINE_GUID ( IID_ID3DXPMesh  ,
0x19fbe386  ,
0xc282  ,
0x4659  ,
0x97  ,
0xbd  ,
0xcb  ,
0x86  ,
0x9b  ,
0x8  ,
0x4a  ,
0x6c   
)

◆ DEFINE_GUID() [4/5]

DEFINE_GUID ( IID_ID3DXSPMesh  ,
0x4e3ca05c  ,
0xd4ff  ,
0x4d11  ,
0x8a  ,
0x2  ,
0x16  ,
0x45  ,
0x9e  ,
0x8  ,
0xf6  ,
0xf4   
)

◆ DEFINE_GUID() [5/5]

DEFINE_GUID ( IID_ID3DXSkinMesh  ,
0x8db06ecc  ,
0xebfc  ,
0x408a  ,
0x94  ,
0x4  ,
0x30  ,
0x74  ,
0xb4  ,
0x77  ,
0x35  ,
0x15   
)