Ignore:
Timestamp:
Mar 28, 2008, 5:43:34 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

インクルードガードとその他不要な前処理定義などの削除

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/directx9/d3dx9mesh.sbp

    r1 r497  
    11'd3dx9mesh.sbp
    2 
    3 
    4 #ifndef _INC_D3DX9MESH
    5 #define _INC_D3DX9MESH
    6 
    72
    83' patch mesh can be quads or tris
     
    1914    D3DXMESH_32BIT                  = &H001  'If set, then use 32 bit indices, if not set use 16 bit indices.
    2015    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.
    2419    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.
    2621    D3DXMESH_VB_WRITEONLY           = &H040  'Use D3DUSAGE_WRITEONLY for VB.
    2722    D3DXMESH_VB_DYNAMIC             = &H080  'Use D3DUSAGE_DYNAMIC for VB.
     
    7469
    7570Const 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
    7772    D3DXEDT_FLOATS = &H2       ' pValue points to an array of floats - number of floats is NumBytes / sizeof(float)
    7873    D3DXEDT_DWORD  = &H3       ' pValue points to a DWORD
     
    292287    Abstract Function GetPatchInfo(PatchInfo As *D3DXPATCHINFO) As DWord
    293288
    294     'Control mesh access   
     289    'Control mesh access
    295290    Abstract Function GetVertexBuffer(ppVB As **IDirect3DVertexBuffer9) As DWord
    296291    Abstract Function GetIndexBuffer(ppIB As **IDirect3DIndexBuffer9) As DWord
     
    336331    'Set min bone influence. Bone influences that are smaller than this are ignored
    337332    Abstract Function SetMinBoneInfluence(MinInfl As Single) As DWord
    338     'Get min bone influence. 
     333    'Get min bone influence.
    339334    Abstract Function GetMinBoneInfluence() As Single
    340335
     
    350345    Abstract Function Clone(ppSkinInfo As **ID3DXSkinInfo) As DWord
    351346
    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
    353348    'if the target vertex buffer has been reordered externally.
    354349    Abstract Function Remap(NumVertices As DWord, pVertexRemap As DWordPtr) As DWord
     
    367362    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
    368363
    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
    370365    'and a bone combination table that describes which bones palettes affect which subsets of the mesh
    371366    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
     
    430425Declare Function D3DXOptimizeFaces Lib "dx9abm" Alias "D3DXOptimizeFaces_abm" (pbIndices As VoidPtr, cFaces As DWord, cVertices As DWord, b32BitIndices As Long, pFaceRemap As DWordPtr) As DWord
    431426Declare 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.