Changeset 497 for trunk/Include/directx9/d3dx9mesh.sbp
- Timestamp:
- Mar 28, 2008, 5:43:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/directx9/d3dx9mesh.sbp
r1 r497 1 1 'd3dx9mesh.sbp 2 3 4 #ifndef _INC_D3DX9MESH5 #define _INC_D3DX9MESH6 7 2 8 3 ' patch mesh can be quads or tris … … 19 14 D3DXMESH_32BIT = &H001 'If set, then use 32 bit indices, if not set use 16 bit indices. 20 15 D3DXMESH_DONOTCLIP = &H002 'Use D3DUSAGE_DONOTCLIP for VB & IB. 21 D3DXMESH_POINTS = &H004 'Use D3DUSAGE_POINTS for VB & IB. 22 D3DXMESH_RTPATCHES = &H008 'Use D3DUSAGE_RTPATCHES for VB & IB. 23 D3DXMESH_NPATCHES = &H4000 'Use D3DUSAGE_NPATCHES for VB & IB. 16 D3DXMESH_POINTS = &H004 'Use D3DUSAGE_POINTS for VB & IB. 17 D3DXMESH_RTPATCHES = &H008 'Use D3DUSAGE_RTPATCHES for VB & IB. 18 D3DXMESH_NPATCHES = &H4000 'Use D3DUSAGE_NPATCHES for VB & IB. 24 19 D3DXMESH_VB_SYSTEMMEM = &H010 'Use D3DPOOL_SYSTEMMEM for VB. Overrides D3DXMESH_MANAGEDVERTEXBUFFER 25 D3DXMESH_VB_MANAGED = &H020 'Use D3DPOOL_MANAGED for VB. 20 D3DXMESH_VB_MANAGED = &H020 'Use D3DPOOL_MANAGED for VB. 26 21 D3DXMESH_VB_WRITEONLY = &H040 'Use D3DUSAGE_WRITEONLY for VB. 27 22 D3DXMESH_VB_DYNAMIC = &H080 'Use D3DUSAGE_DYNAMIC for VB. … … 74 69 75 70 Const Enum D3DXEFFECTDEFAULTTYPE 76 D3DXEDT_STRING = &H1 ' pValue points to a null terminated ASCII string 71 D3DXEDT_STRING = &H1 ' pValue points to a null terminated ASCII string 77 72 D3DXEDT_FLOATS = &H2 ' pValue points to an array of floats - number of floats is NumBytes / sizeof(float) 78 73 D3DXEDT_DWORD = &H3 ' pValue points to a DWORD … … 292 287 Abstract Function GetPatchInfo(PatchInfo As *D3DXPATCHINFO) As DWord 293 288 294 'Control mesh access 289 'Control mesh access 295 290 Abstract Function GetVertexBuffer(ppVB As **IDirect3DVertexBuffer9) As DWord 296 291 Abstract Function GetIndexBuffer(ppIB As **IDirect3DIndexBuffer9) As DWord … … 336 331 'Set min bone influence. Bone influences that are smaller than this are ignored 337 332 Abstract Function SetMinBoneInfluence(MinInfl As Single) As DWord 338 'Get min bone influence. 333 'Get min bone influence. 339 334 Abstract Function GetMinBoneInfluence() As Single 340 335 … … 350 345 Abstract Function Clone(ppSkinInfo As **ID3DXSkinInfo) As DWord 351 346 352 'Update bone influence information to match vertices after they are reordered. This should be called 347 'Update bone influence information to match vertices after they are reordered. This should be called 353 348 'if the target vertex buffer has been reordered externally. 354 349 Abstract Function Remap(NumVertices As DWord, pVertexRemap As DWordPtr) As DWord … … 367 362 Abstract Function ConvertToBlendedMesh(pMesh As *ID3DXMesh, Options As DWord, pAdjacencyIn As DWordPtr, pAdjacencyOut As DWordPtr, pFaceRemap As DWordPtr, ppVertexRemap As **ID3DXBuffer, pMaxFaceInfl As DWordPtr, pNumBoneCombinations As DWordPtr, ppBoneCombinationTable As **ID3DXBuffer, ppMesh As **ID3DXMesh) As DWord 368 363 369 'Takes a mesh and returns a new mesh with per vertex blend weights and indices 364 'Takes a mesh and returns a new mesh with per vertex blend weights and indices 370 365 'and a bone combination table that describes which bones palettes affect which subsets of the mesh 371 366 Abstract Function ConvertToIndexedBlendedMesh(pMesh As *ID3DXMesh, Options As DWord, paletteSize As DWord, pAdjacencyIn As DWordPtr, pAdjacencyOut As DWordPtr, pFaceRemap As DWordPtr, ppVertexRemap As **ID3DXBuffer, pMaxVertexInfl As DWordPtr, pNumBoneCombinations As DWordPtr, ppBoneCombinationTable As **ID3DXBuffer, ppMesh As **ID3DXMesh) As DWord … … 430 425 Declare Function D3DXOptimizeFaces Lib "dx9abm" Alias "D3DXOptimizeFaces_abm" (pbIndices As VoidPtr, cFaces As DWord, cVertices As DWord, b32BitIndices As Long, pFaceRemap As DWordPtr) As DWord 431 426 Declare Function D3DXOptimizeVertices Lib "dx9abm" Alias "D3DXOptimizeVertices_abm" (pbIndices As VoidPtr, cFaces As DWord, cVertices As DWord, b32BitIndices As Long, pFaceRemap As DWordPtr) As DWord 432 433 434 #endif '_INC_D3DX9MESH
Note:
See TracChangeset
for help on using the changeset viewer.