Changeset 497 for trunk/Include/directx9
- Timestamp:
- Mar 28, 2008, 5:43:34 PM (17 years ago)
- Location:
- trunk/Include/directx9
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/directx9/d3d9caps.sbp
r1 r497 1 1 'd3d9caps.sbp 2 3 4 #ifndef _INC_D3D9CAPS5 #define _INC_D3D9CAPS6 7 2 8 3 Type D3DVSHADERCAPS2_0 … … 139 134 MaxVShaderInstructionsExecuted As DWord 140 135 MaxPShaderInstructionsExecuted As DWord 141 MaxVertexShader30InstructionSlots As DWord 136 MaxVertexShader30InstructionSlots As DWord 142 137 MaxPixelShader30InstructionSlots As DWord 143 138 End Type … … 163 158 Const D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD = &H00000020 164 159 165 ' Indicates that the device can perform a gamma correction from 160 ' Indicates that the device can perform a gamma correction from 166 161 ' a windowed back buffer containing linear content to the sRGB desktop. 167 162 Const D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION = &H00000080 … … 246 241 Const D3DPRASTERCAPS_SCISSORTEST = &H01000000 247 242 Const D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS = &H02000000 248 Const D3DPRASTERCAPS_DEPTHBIAS = &H04000000 243 Const D3DPRASTERCAPS_DEPTHBIAS = &H04000000 249 244 Const D3DPRASTERCAPS_MULTISAMPLE_TOGGLE = &H08000000 250 245 … … 395 390 Const D3DDTCAPS_FLOAT16_2 = &H00000100 396 391 Const D3DDTCAPS_FLOAT16_4 = &H00000200 397 398 399 #endif '_INC_D3D9CAPS -
trunk/Include/directx9/d3d9types.sbp
r1 r497 1 1 ' d3d9types.sbp 2 3 4 #ifndef _INC_D3D9TYPES5 #define _INC_D3D9TYPES6 7 2 8 3 Const D3DCOLOR_ARGB(a,r,g,b) = ((a and &HFF)<<24) or ((r and &HFF)<<16) or ((g and &HFF)<<8) or (b and &HFF) … … 263 258 D3DRS_FOGTABLEMODE = 35 'D3DFOGMODE 264 259 D3DRS_FOGSTART = 36 'Fog start (for both vertex and pixel fog) 265 D3DRS_FOGEND = 37 'Fog end 266 D3DRS_FOGDENSITY = 38 'Fog density 260 D3DRS_FOGEND = 37 'Fog end 261 D3DRS_FOGDENSITY = 38 'Fog density 267 262 D3DRS_RANGEFOGENABLE = 48 'Enables range-based fog 268 263 D3DRS_STENCILENABLE = 52 'BOOL enable/disable stenciling … … 983 978 Const D3DLOCK_NOOVERWRITE = &H00001000 984 979 Const D3DLOCK_NOSYSLOCK = &H00000800 985 Const D3DLOCK_DONOTWAIT = &H00004000 980 Const D3DLOCK_DONOTWAIT = &H00004000 986 981 Const D3DLOCK_NO_DIRTY_UPDATE = &H00008000 987 982 … … 1204 1199 PostTransformVertexCacheHitRate As Single 1205 1200 End Type 1206 1207 1208 #endif '_INC_D3D9TYPES -
trunk/Include/directx9/d3dx9.sbp
r1 r497 13 13 Const D3DX_FROM_FILE = -3 14 14 15 # include <directx9\d3d9.sbp>16 # include <directx9\d3dx9math.sbp>17 # include <directx9\d3dx9core.sbp>18 # include <directx9\d3dx9xof.sbp>19 # include <directx9\d3dx9mesh.sbp>20 # include <directx9\d3dx9shader.sbp>21 # include <directx9\d3dx9tex.sbp>15 #require <directx9\d3d9.sbp> 16 #require <directx9\d3dx9math.sbp> 17 #require <directx9\d3dx9core.sbp> 18 #require <directx9\d3dx9xof.sbp> 19 #require <directx9\d3dx9mesh.sbp> 20 #require <directx9\d3dx9shader.sbp> 21 #require <directx9\d3dx9tex.sbp> 22 22 23 23 -
trunk/Include/directx9/d3dx9core.sbp
r1 r497 1 1 ' d3dx9core.sbp 2 3 4 #ifndef _INC_D3DX9CORE5 #define _INC_D3DX9CORE6 7 2 8 3 Class ID3DXBuffer … … 214 209 215 210 Declare Function D3DXCreateLine Lib "dx9abm" Alias "D3DXCreateLine_abm" (pDevice As LPDIRECT3DDEVICE9, ppLine As **ID3DXLine) As DWord 216 217 218 #endif '_INC_D3DX9CORE -
trunk/Include/directx9/d3dx9math.sbp
r1 r497 1 1 'd3dx9math.sbp 2 3 4 #ifndef _INC_D3DX9MATH5 #define _INC_D3DX9MATH6 7 2 8 3 '--------------------------- … … 36 31 37 32 Type D3DXMATRIX 38 33 m[3,3] As Single 39 34 End Type 40 35 … … 265 260 266 261 Declare Function D3DXCreateMatrixStack Lib "dx9abm" Alias "D3DXCreateMatrixStack_abm" (Flags As DWord, ppStack As **ID3DXMatrixStack) As DWord 267 268 269 #endif '_INC_D3DX9MATH -
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 -
trunk/Include/directx9/d3dx9shader.sbp
r1 r497 1 1 ' d3dx9shader.sbp 2 3 4 #ifndef _INC_D3DX9SHADER5 #define _INC_D3DX9SHADER6 7 2 8 3 TypeDef D3DXHANDLE = BytePtr … … 217 212 Declare Function D3DXCompileShaderFromResource Lib "dx9abm" Alias "D3DXCompileShaderFromResource_abm" (hSrcModule As HINSTANCE, pSrcResource As BytePtr, pDefines As *D3DXMACRO, pInclude As LPD3DXINCLUDE, pFunctionName As BytePtr, pProfile As BytePtr, Flags As DWord, ppShader As *LPD3DXBUFFER, ppErrorMsgs As *LPD3DXBUFFER, ppConstantTable As *LPD3DXCONSTANTTABLE) As DWord 218 213 Declare Function D3DXCompileShader Lib "dx9abm" Alias "D3DXCompileShader_abm" (pSrcData As BytePtr, SrcDataLen As DWord, pDefines As *D3DXMACRO, pInclude As LPD3DXINCLUDE, pFunctionName As BytePtr, pProfile As BytePtr, Flags As DWord, ppShader As *LPD3DXBUFFER, ppErrorMsgs As *LPD3DXBUFFER, ppConstantTable As *LPD3DXCONSTANTTABLE) As DWord 219 220 221 #endif '_INC_D3DX9SHADER -
trunk/Include/directx9/d3dx9tex.sbp
r381 r497 1 1 'd3dx9tex.sbp 2 3 4 #ifndef _INC_D3DX9TEX5 #define _INC_D3DX9TEX6 7 2 8 3 ' D3DX_FILTER flags … … 143 138 Declare Function D3DXFillVolumeTextureTX Lib "dx9abm" Alias "D3DXFillVolumeTextureTX_abm" (pVolumeTexture As LPDIRECT3DVOLUMETEXTURE9, pTextureShader As LPD3DXTEXTURESHADER) As DWord 144 139 Declare Function D3DXComputeNormalMap Lib "dx9abm" Alias "D3DXComputeNormalMap_abm" (pTexture As LPDIRECT3DTEXTURE9, pSrcTexture As LPDIRECT3DTEXTURE9, pSrcPalette As *PALETTEENTRY, Flags As DWord, Channel As DWord, Amplitude As Single) As DWord 145 146 147 #endif '_INC_D3DX9TEX148 -
trunk/Include/directx9/d3dx9xof.sbp
r1 r497 1 1 ' d3dx9xof.sbp 2 3 4 #ifndef _INC_D3DX9XOF5 #define _INC_D3DX9XOF6 7 2 8 3 Class ID3DXFile … … 64 59 '未完成 65 60 'Declare Function Lib "dx9abm" Alias "_abm" () As DWord 66 67 68 #endif '_INC_D3DX9XOF -
trunk/Include/directx9/dmdls.sbp
r1 r497 1 1 ' dmdls.sbp - DLS download definitions for DirectMusic API's 2 3 4 #ifndef _INC_DMDLS5 #define _INC_DMDLS6 7 2 8 3 Type DMUS_NOTERANGE … … 10 5 dwHighNote As DWord 'Sets the high note for the range of MIDI note events to which the instrument responds. 11 6 End Type 12 13 14 #endif '_INC_DMDLS -
trunk/Include/directx9/dmplugin.sbp
r1 r497 1 1 ' dmplugin.sbp - This module contains the API for plugins for the DirectMusic performance layer 2 3 4 #ifndef _INC_DMPLUGIN5 #define _INC_DMPLUGIN6 7 2 8 3 Class IDirectMusicTool … … 53 48 Abstract Function EndPlay(pStateData As VoidPtr) As DWord 54 49 Abstract Function Play(pStateData As VoidPtr, mtStart As MUSIC_TIME, mtEnd As MUSIC_TIME, mtOffset As MUSIC_TIME, dwFlags As DWord, pPerf As *IDirectMusicPerformance, pSegSt As *IDirectMusicSegmentState, dwVirtualID As DWord) As DWord 55 Abstract Function GetParam(ByRef rguidType As GUID, mtTime As MUSIC_TIME, pmtNext As *MUSIC_TIME, pParam As VoidPtr) As DWord 50 Abstract Function GetParam(ByRef rguidType As GUID, mtTime As MUSIC_TIME, pmtNext As *MUSIC_TIME, pParam As VoidPtr) As DWord 56 51 Abstract Function SetParam(ByRef rguidType As GUID, mtTime As MUSIC_TIME, pParam As VoidPtr) As DWord 57 52 Abstract Function IsParamSupported(ByRef rguidType As GUID) As DWord … … 71 66 Abstract Function Join(pNewTrack As *IDirectMusicTrack, mtJoin As MUSIC_TIME, pContext As *IUnknown, dwTrackGroup As DWord, ppResultTrack As **IDirectMusicTrack) As DWord 72 67 End Class 73 74 75 #endif '_INC_DMPLUGIN -
trunk/Include/directx9/dmusic.sbp
r1 r497 6 6 7 7 8 # include <directx9\dsound.sbp>9 # include <directx9\dmdls.sbp>10 # include <directx9\dmusicc.sbp>11 # include <directx9\dmplugin.sbp>8 #require <directx9\dsound.sbp> 9 #require <directx9\dmdls.sbp> 10 #require <directx9\dmusicc.sbp> 11 #require <directx9\dmplugin.sbp> 12 12 13 13 -
trunk/Include/directx9/dmusicc.sbp
r1 r497 1 1 ' dmusicc.sbp - This module defines the DirectMusic core API's 2 3 4 #ifndef _INC_DMUSICC5 #define _INC_DMUSICC6 7 2 8 3 Const DMUS_MAX_DESCRIPTION = 128 … … 53 48 dwMemorySize As DWord 54 49 dwMaxChannelGroups As DWord 55 dwMaxVoices As DWord 50 dwMaxVoices As DWord 56 51 dwMaxAudioChannels As DWord 57 52 dwEffectFlags As DWord … … 262 257 Dim IID_IDirectMusicInstrument = [&Hd2ac287d, &Hb39b, &H11d1, [&H87, &H4, &H0, &H60, &H8, &H93, &Hb1, &Hbd]] As GUID 263 258 Dim IID_IDirectMusicDownloadedInstrument = [&Hd2ac287e, &Hb39b, &H11d1, [&H87, &H4, &H0, &H60, &H8, &H93, &Hb1, &Hbd]] As GUID 264 265 266 #endif '_INC_DMUSICC -
trunk/Include/directx9/dsound.sbp
r1 r497 1 1 ' dsound.sbp 2 3 4 #ifndef _INC_DSOUND5 #define _INC_DSOUND6 7 8 2 Const DIRECTSOUND_VERSION = &H0900 9 3 … … 634 628 ' Waves Reverberation {87FC0268-9A55-4360-95AA-004A1D9DE26C} 635 629 Dim GUID_DSFX_WAVES_REVERB = [&H87fc0268, &H9a55, &H4360, [&H95, &Haa, &H00, &H4a, &H1d, &H9d, &He2, &H6c]] As GUID 636 637 638 #endif '_INC_DSOUND
Note:
See TracChangeset
for help on using the changeset viewer.