Changeset 303 for trunk/Include/directx9
- Timestamp:
- Aug 24, 2007, 11:14:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/directx9/d3d9.sbp
r1 r303 9 9 Const D3D_SDK_VERSION = 32 10 10 11 # include <directx9\d3d9types.sbp>12 # include <directx9\d3d9caps.sbp>11 #require <directx9\d3d9types.sbp> 12 #require <directx9\d3d9caps.sbp> 13 13 14 14 … … 24 24 '-------------------- 25 25 26 ClassIDirect3D926 Interface IDirect3D9 27 27 Inherits IUnknown 28 28 Public 29 29 'IDirect3D9 methods 30 AbstractFunction ShoRegisterSoftwareDevice(pInitializeFunction As VoidPtr) As DWord31 AbstractFunction GetAdapterCount() As DWord32 AbstractFunction GetAdapterIdentifier(Adapter As DWord, Flags As DWord, pIdentifier As *D3DADAPTER_IDENTIFIER9) As DWord33 AbstractFunction GetAdapterModeCount(Adapter As DWord, Format As D3DFORMAT) As DWord34 AbstractFunction EnumAdapterModes(Adapter As DWord, Format As D3DFORMAT, Mode As DWord, pMode As *D3DDISPLAYMODE) As DWord35 AbstractFunction GetAdapterDisplayMode(Adapter As DWord, pMode As *D3DDISPLAYMODE) As DWord36 AbstractFunction CheckDeviceType(Adapter As DWord, DevType As D3DDEVTYPE, AdapterFormat As D3DFORMAT, BackBufferFormat As D3DFORMAT, bWindowed As Long) As DWord37 AbstractFunction CheckDeviceFormat(Adapter As DWord, DeviceType As D3DDEVTYPE, AdapterFormat As D3DFORMAT, Usage As DWord, RType As D3DRESOURCETYPE, CheckFormat As D3DFORMAT) As DWord38 AbstractFunction CheckDeviceMultiSampleType(Adapter As DWord, DeviceType As D3DDEVTYPE, SurfaceFormat As D3DFORMAT, Windowed As Long, MultiSampleType As D3DMULTISAMPLE_TYPE, pQualityLevels As DWordPtr) As DWord39 AbstractFunction CheckDepthStencilMatch(Adapter As DWord, DeviceType As D3DDEVTYPE, AdapterFormat As D3DFORMAT, RenderTargetFormat As D3DFORMAT, DepthStencilFormat As D3DFORMAT) As DWord40 AbstractFunction CheckDeviceFormatConversion(Adapter As DWord, DeviceType As D3DDEVTYPE, SourceFormat As D3DFORMAT, TargetFormat As D3DFORMAT) As DWord41 AbstractFunction GetDeviceCaps(Adapter As DWord, DeviceType As D3DDEVTYPE, pCaps As *D3DCAPS9) As DWord42 AbstractFunction GetAdapterMonitor(Adapter As DWord) As DWord43 AbstractFunction CreateDevice(Adapter As DWord, DeviceType As D3DDEVTYPE, hFocusWindow As HWND, BehaviorFlags As DWord, pPresentationParameters As *D3DPRESENT_PARAMETERS, ppReturnedDeviceInterface As *LPDIRECT3DDEVICE9) As DWord44 End Class30 Function ShoRegisterSoftwareDevice(pInitializeFunction As VoidPtr) As DWord 31 Function GetAdapterCount() As DWord 32 Function GetAdapterIdentifier(Adapter As DWord, Flags As DWord, pIdentifier As *D3DADAPTER_IDENTIFIER9) As DWord 33 Function GetAdapterModeCount(Adapter As DWord, Format As D3DFORMAT) As DWord 34 Function EnumAdapterModes(Adapter As DWord, Format As D3DFORMAT, Mode As DWord, pMode As *D3DDISPLAYMODE) As DWord 35 Function GetAdapterDisplayMode(Adapter As DWord, pMode As *D3DDISPLAYMODE) As DWord 36 Function CheckDeviceType(Adapter As DWord, DevType As D3DDEVTYPE, AdapterFormat As D3DFORMAT, BackBufferFormat As D3DFORMAT, bWindowed As Long) As DWord 37 Function CheckDeviceFormat(Adapter As DWord, DeviceType As D3DDEVTYPE, AdapterFormat As D3DFORMAT, Usage As DWord, RType As D3DRESOURCETYPE, CheckFormat As D3DFORMAT) As DWord 38 Function CheckDeviceMultiSampleType(Adapter As DWord, DeviceType As D3DDEVTYPE, SurfaceFormat As D3DFORMAT, Windowed As Long, MultiSampleType As D3DMULTISAMPLE_TYPE, pQualityLevels As DWordPtr) As DWord 39 Function CheckDepthStencilMatch(Adapter As DWord, DeviceType As D3DDEVTYPE, AdapterFormat As D3DFORMAT, RenderTargetFormat As D3DFORMAT, DepthStencilFormat As D3DFORMAT) As DWord 40 Function CheckDeviceFormatConversion(Adapter As DWord, DeviceType As D3DDEVTYPE, SourceFormat As D3DFORMAT, TargetFormat As D3DFORMAT) As DWord 41 Function GetDeviceCaps(Adapter As DWord, DeviceType As D3DDEVTYPE, pCaps As *D3DCAPS9) As DWord 42 Function GetAdapterMonitor(Adapter As DWord) As DWord 43 Function CreateDevice(Adapter As DWord, DeviceType As D3DDEVTYPE, hFocusWindow As HWND, BehaviorFlags As DWord, pPresentationParameters As *D3DPRESENT_PARAMETERS, ppReturnedDeviceInterface As *LPDIRECT3DDEVICE9) As DWord 44 End Interface 45 45 TypeDef LPDIRECT3D9 = *IDirect3D9 46 46 47 ClassIDirect3DDevice947 Interface IDirect3DDevice9 48 48 Inherits IUnknown 49 49 Public 50 50 'IDirect3DDevice9 methods 51 AbstractFunction TestCooperativeLevel() As DWord52 AbstractFunction GetAvailableTextureMem() As DWord53 AbstractFunction EvictManagedResources() As DWord54 AbstractFunction GetDirect3D(ppD3D9 As *LPDIRECT3D9) As DWord55 AbstractFunction GetDeviceCaps(pCaps As *D3DCAPS9) As DWord56 AbstractFunction GetDisplayMode(iSwapChain As DWord, pMode As DWordPtr) As DWord57 AbstractFunction GetCreationParameters(pParameters As *D3DDEVICE_CREATION_PARAMETERS) As DWord58 AbstractFunction SetCursorProperties(XHotSpot As DWord, YHotSpot As DWord,pCursorBitmap As *IDirect3DSurface9) As DWord59 AbstractSub SetCursorPosition(X As Long, Y As Long, Flags As DWord)60 AbstractFunction ShowCursor(bShow As Long) As Long61 AbstractFunction CreateAdditionalSwapChain(pPresentationParameters As *D3DPRESENT_PARAMETERS, ppSwapChain As **IDirect3DSwapChain9) As DWord62 AbstractFunction GetSwapChain(iSwapChain As DWord, ppSwapChain As **IDirect3DSwapChain9) As DWord63 AbstractFunction GetNumberOfSwapChains() As DWord64 AbstractFunction Reset(pPresentationParameters As *D3DPRESENT_PARAMETERS) As DWord65 AbstractFunction Present(pSourceRect As *RECT, pDestRect As *RECT, hDestWindowOverride As DWord, pDirtyRegion As *RGNDATA) As DWord66 AbstractFunction GetBackBuffer(iSwapChain As DWord, iBackBuffer As DWord, bufType As D3DBACKBUFFER_TYPE, ppBackBuffer As **IDirect3DSurface9) As DWord67 AbstractFunction GetRasterStatus(iSwapChain As DWord, pRasterStatus As *D3DRASTER_STATUS) As DWord68 AbstractFunction SetDialogBoxMode(bEnableDialogs As Long) As DWord69 AbstractSub SetGammaRamp(iSwapChain As DWord, Flags As DWord, pRamp As *D3DGAMMARAMP)70 AbstractSub GetGammaRamp(iSwapChain As DWord, pRamp As *D3DGAMMARAMP)71 AbstractFunction CreateTexture(Width As DWord, Height As DWord, Levels As DWord, Usage As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppTexture As **IDirect3DTexture9, pSharedHandle As DWordPtr) As DWord72 AbstractFunction CreateVolumeTexture(Width As DWord, Height As DWord, Depth As DWord, Levels As DWord, Usage As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppVolumeTexture As **IDirect3DVolumeTexture9, pSharedHandle As DWordPtr) As DWord73 AbstractFunction CreateCubeTexture(EdgeLength As DWord, Levels As DWord, Usage As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppCubeTexture As **IDirect3DCubeTexture9, pSharedHandle As DWordPtr) As DWord74 AbstractFunction CreateVertexBuffer(Length As DWord, Usage As DWord, FVF As DWord, Pool As D3DPOOL, ppVertexBuffer As **IDirect3DVertexBuffer9, pSharedHandle As DWordPtr) As DWord75 AbstractFunction CreateIndexBuffer(Length As DWord, Usage As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppIndexBuffer As **IDirect3DIndexBuffer9, pSharedHandle As DWordPtr) As DWord76 AbstractFunction CreateRenderTarget(Width As DWord, Height As DWord, Format As D3DFORMAT, MultiSample As D3DMULTISAMPLE_TYPE, MultisampleQuality As DWord, Lockable As Long, ppSurface As **IDirect3DSurface9, pSharedHandle As DWordPtr) As DWord77 AbstractFunction CreateDepthStencilSurface(Width As DWord, Height As DWord, Format As D3DFORMAT, MultiSample As D3DMULTISAMPLE_TYPE, MultisampleQuality As DWord, Discard As Long, ppSurface As **IDirect3DSurface9, pSharedHandle As DWordPtr) As DWord78 AbstractFunction UpdateSurface(pSourceSurface As *IDirect3DSurface9, pSourceRect As *RECT, pDestinationSurface As *IDirect3DSurface9, pDestPoint As *POINTAPI) As DWord79 AbstractFunction UpdateTexture(pSourceTexture As *IDirect3DBaseTexture9, pDestinationTexture As *IDirect3DBaseTexture9) As DWord80 AbstractFunction GetRenderTargetData(pRenderTarget As *IDirect3DSurface9, pDestSurface As *IDirect3DSurface9) As DWord81 AbstractFunction GetFrontBufferData(iSwapChain As DWord, pDestSurface As *IDirect3DSurface9) As DWord82 AbstractFunction StretchRect(pSourceSurface As *IDirect3DSurface9, pSourceRect As *RECT, pDestSurface As *IDirect3DSurface9, pDestRect As *RECT, Filter As D3DTEXTUREFILTERTYPE) As DWord83 AbstractFunction ColorFill(pSurface As *IDirect3DSurface9, pRect As *RECT,dwColor As DWord) As DWord84 AbstractFunction CreateOffscreenPlainSurface(Width As DWord, Height As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppSurface As **IDirect3DSurface9, pSharedHandle As DWordPtr) As DWord85 AbstractFunction SetRenderTarget(RenderTargetIndex As DWord, pRenderTarget As *IDirect3DSurface9) As DWord86 AbstractFunction GetRenderTarget(RenderTargetIndex As DWord, ppRenderTarget As **IDirect3DSurface9) As DWord87 AbstractFunction SetDepthStencilSurface(pNewZStencil As *IDirect3DSurface9) As DWord88 AbstractFunction GetDepthStencilSurface(ppZStencilSurface As **IDirect3DSurface9) As DWord89 AbstractFunction BeginScene() As DWord90 AbstractFunction EndScene() As DWord91 AbstractFunction Clear(Count As DWord, pRects As *D3DRECT, Flags As DWord, dwColor As DWord, Z As Single, Stencil As DWord) As DWord92 AbstractFunction SetTransform(State As D3DTRANSFORMSTATETYPE, pMatrix As *D3DMATRIX) As DWord93 AbstractFunction GetTransform(State As D3DTRANSFORMSTATETYPE, pMatrix As *D3DMATRIX) As DWord94 AbstractFunction MultiplyTransform(State As D3DTRANSFORMSTATETYPE, pMatrix As *D3DMATRIX) As DWord95 AbstractFunction SetViewport(pViewport As *D3DVIEWPORT9) As DWord96 AbstractFunction GetViewport(pViewport As *D3DVIEWPORT9) As DWord97 AbstractFunction SetMaterial(pMaterial As *D3DMATERIAL9) As DWord98 AbstractFunction GetMaterial(pMaterial As *D3DMATERIAL9) As DWord99 AbstractFunction SetLight(Index As DWord, pLight As *D3DLIGHT9) As DWord100 AbstractFunction GetLight(Index As DWord, pLight As *D3DLIGHT9) As DWord101 AbstractFunction LightEnable(Index As DWord, Enable As Long) As DWord102 AbstractFunction GetLightEnable(Index As DWord, pEnable As DWordPtr) As DWord103 AbstractFunction SetClipPlane(Index As DWord, pPlane As SinglePtr) As DWord104 AbstractFunction GetClipPlane(Index As DWord, pPlane As SinglePtr) As DWord105 AbstractFunction SetRenderState(State As D3DRENDERSTATETYPE, Value As DWord) As DWord106 AbstractFunction GetRenderState(State As D3DRENDERSTATETYPE, pValue As DWordPtr) As DWord107 AbstractFunction CreateStateBlock(BlockType As D3DSTATEBLOCKTYPE, ppSB As **IDirect3DStateBlock9) As DWord108 AbstractFunction BeginStateBlock() As DWord109 AbstractFunction EndStateBlock(ppSB As **IDirect3DStateBlock9) As DWord110 AbstractFunction SetClipStatus(pClipStatus As *D3DCLIPSTATUS9) As DWord111 AbstractFunction GetClipStatus(pClipStatus As *D3DCLIPSTATUS9) As DWord112 AbstractFunction GetTexture(Stage As DWord, ppTexture As **IDirect3DBaseTexture9) As DWord113 AbstractFunction SetTexture(Stage As DWord, pTexture As *IDirect3DBaseTexture9) As DWord114 AbstractFunction GetTextureStageState(Stage As DWord, StateType As D3DTEXTURESTAGESTATETYPE, pValue As DWordPtr) As DWord115 AbstractFunction SetTextureStageState(Stage As DWord, StateType As D3DTEXTURESTAGESTATETYPE, Value As DWord) As DWord116 AbstractFunction GetSamplerState(Sampler As DWord, SamplerStateType As D3DSAMPLERSTATETYPE, pValue As DWordPtr) As DWord117 AbstractFunction SetSamplerState(Sampler As DWord, SamplerStateType As D3DSAMPLERSTATETYPE, Value As DWord) As DWord118 AbstractFunction ValidateDevice(pNumPasses As DWordPtr) As DWord119 AbstractFunction SetPaletteEntries(PaletteNumber As DWord, pEntries As *PALETTEENTRY) As DWord120 AbstractFunction GetPaletteEntries(PaletteNumber As DWord, pEntries As *PALETTEENTRY) As DWord121 AbstractFunction SetCurrentTexturePalette(PaletteNumber As DWord) As DWord122 AbstractFunction GetCurrentTexturePalette(pPaletteNumber As DWordPtr) As DWord123 AbstractFunction SetScissorRect(pRect As *RECT) As DWord124 AbstractFunction GetScissorRect(pRect As *RECT) As DWord125 AbstractFunction SetSoftwareVertexProcessing(bSoftware As Long) As DWord126 AbstractFunction GetSoftwareVertexProcessing() As Long127 AbstractFunction SetNPatchMode(nSegments As Single) As DWord128 AbstractFunction GetNPatchMode() As Single129 AbstractFunction DrawPrimitive(PrimitiveType As D3DPRIMITIVETYPE, StartVertex As DWord, PrimitiveCount As DWord) As DWord130 AbstractFunction DrawIndexedPrimitive(PrimitiveType As D3DPRIMITIVETYPE, BaseVertexIndex As Long, MinVertexIndex As DWord, NumVertices As DWord, startIndex As DWord, primCount As DWord) As DWord131 AbstractFunction DrawPrimitiveUP(PrimitiveType As D3DPRIMITIVETYPE, PrimitiveCount As DWord, pVertexStreamZeroData As VoidPtr, VertexStreamZeroStride As DWord) As DWord132 AbstractFunction DrawIndexedPrimitiveUP(PrimitiveType As D3DPRIMITIVETYPE, MinVertexIndex As DWord, NumVertices As DWord, PrimitiveCount As DWord, pIndexData As VoidPtr, IndexDataFormat As D3DFORMAT, pVertexStreamZeroData As VoidPtr, VertexStreamZeroStride As DWord) As DWord133 AbstractFunction ProcessVertices(SrcStartIndex As DWord, DestIndex As DWord, VertexCount As DWord, pDestBuffer As *IDirect3DVertexBuffer9, pVertexDecl As *IDirect3DVertexDeclaration9, Flags As DWord) As DWord134 AbstractFunction CreateVertexDeclaration(pVertexElements As *D3DVERTEXELEMENT9, ppDecl As **IDirect3DVertexDeclaration9) As DWord135 AbstractFunction SetVertexDeclaration(pDecl As *IDirect3DVertexDeclaration9) As DWord136 AbstractFunction GetVertexDeclaration(ppDecl As **IDirect3DVertexDeclaration9) As DWord137 AbstractFunction SetFVF(FVF As DWord) As DWord138 AbstractFunction GetFVF(pFVF As DWordPtr) As DWord139 AbstractFunction CreateVertexShader(pFunction As DWordPtr, ppShader As **IDirect3DVertexShader9) As DWord140 AbstractFunction SetVertexShader(pShader As *IDirect3DVertexShader9) As DWord141 AbstractFunction GetVertexShader(ppShader As **IDirect3DVertexShader9) As DWord142 AbstractFunction SetVertexShaderConstantF(StartRegister As DWord, pConstantData As SinglePtr, Vector4fCount As DWord) As DWord143 AbstractFunction GetVertexShaderConstantF(StartRegister As DWord, pConstantData As SinglePtr, Vector4fCount As DWord) As DWord144 AbstractFunction SetVertexShaderConstantI(StartRegister As DWord, pConstantData As WordPtr, Vector4iCount As DWord) As DWord145 AbstractFunction GetVertexShaderConstantI(StartRegister As DWord, pConstantData As WordPtr, Vector4iCount As DWord) As DWord146 AbstractFunction SetVertexShaderConstantB(StartRegister As DWord, pConstantData As DWordPtr, BoolCount As DWord) As DWord147 AbstractFunction GetVertexShaderConstantB(StartRegister As DWord, pConstantData As DWordPtr, BoolCount As DWord) As DWord148 AbstractFunction SetStreamSource(StreamNumber As DWord, pStreamData As *IDirect3DVertexBuffer9, OffsetInBytes As DWord, Stride As DWord) As DWord149 AbstractFunction GetStreamSource(StreamNumber As DWord, ppStreamData As **IDirect3DVertexBuffer9, pOffsetInBytes As DWordPtr, pStride As DWordPtr) As DWord150 AbstractFunction SetStreamSourceFreq(StreamNumber As DWord, Setting As DWord) As DWord151 AbstractFunction GetStreamSourceFreq(StreamNumber As DWord, pSetting As DWordPtr) As DWord152 AbstractFunction SetIndices(pIndexData As *IDirect3DIndexBuffer9) As DWord153 AbstractFunction GetIndices(ppIndexData As **IDirect3DIndexBuffer9) As DWord154 AbstractFunction CreatePixelShader(pFunction As DWordPtr, ppShader As **IDirect3DPixelShader9) As DWord155 AbstractFunction SetPixelShader(pShader As *IDirect3DPixelShader9) As DWord156 AbstractFunction GetPixelShader(ppShader As **IDirect3DPixelShader9) As DWord157 AbstractFunction SetPixelShaderConstantF(StartRegister As DWord, pConstantData As SinglePtr, Vector4fCount As DWord) As DWord158 AbstractFunction GetPixelShaderConstantF(StartRegister As DWord, pConstantData As SinglePtr, Vector4fCount As DWord) As DWord159 AbstractFunction SetPixelShaderConstantI(StartRegister As DWord, pConstantData As WordPtr, Vector4iCount As DWord) As DWord160 AbstractFunction GetPixelShaderConstantI(StartRegister As DWord, pConstantData As WordPtr, Vector4iCount As DWord) As DWord161 AbstractFunction SetPixelShaderConstantB(StartRegister As DWord, pConstantData As DWordPtr, BoolCount As DWord) As DWord162 AbstractFunction GetPixelShaderConstantB(StartRegister As DWord, pConstantData As DWordPtr, BoolCount As DWord) As DWord163 AbstractFunction DrawRectPatch(Handle As DWord, pNumSegs As SinglePtr, pRectPatchInfo As *D3DRECTPATCH_INFO) As DWord164 AbstractFunction DrawTriPatch(Handle As DWord, pNumSegs As SinglePtr, pTriPatchInfo As *D3DTRIPATCH_INFO) As DWord165 AbstractFunction DeletePatch(Handle As DWord) As DWord166 AbstractFunction CreateQuery(QueryType As D3DQUERYTYPE, ppQuery As **IDirect3DQuery9) As DWord167 End Class51 Function TestCooperativeLevel() As DWord 52 Function GetAvailableTextureMem() As DWord 53 Function EvictManagedResources() As DWord 54 Function GetDirect3D(ppD3D9 As *LPDIRECT3D9) As DWord 55 Function GetDeviceCaps(pCaps As *D3DCAPS9) As DWord 56 Function GetDisplayMode(iSwapChain As DWord, pMode As DWordPtr) As DWord 57 Function GetCreationParameters(pParameters As *D3DDEVICE_CREATION_PARAMETERS) As DWord 58 Function SetCursorProperties(XHotSpot As DWord, YHotSpot As DWord,pCursorBitmap As *IDirect3DSurface9) As DWord 59 Sub SetCursorPosition(X As Long, Y As Long, Flags As DWord) 60 Function ShowCursor(bShow As Long) As Long 61 Function CreateAdditionalSwapChain(pPresentationParameters As *D3DPRESENT_PARAMETERS, ppSwapChain As **IDirect3DSwapChain9) As DWord 62 Function GetSwapChain(iSwapChain As DWord, ppSwapChain As **IDirect3DSwapChain9) As DWord 63 Function GetNumberOfSwapChains() As DWord 64 Function Reset(pPresentationParameters As *D3DPRESENT_PARAMETERS) As DWord 65 Function Present(pSourceRect As *RECT, pDestRect As *RECT, hDestWindowOverride As DWord, pDirtyRegion As *RGNDATA) As DWord 66 Function GetBackBuffer(iSwapChain As DWord, iBackBuffer As DWord, bufType As D3DBACKBUFFER_TYPE, ppBackBuffer As **IDirect3DSurface9) As DWord 67 Function GetRasterStatus(iSwapChain As DWord, pRasterStatus As *D3DRASTER_STATUS) As DWord 68 Function SetDialogBoxMode(bEnableDialogs As Long) As DWord 69 Sub SetGammaRamp(iSwapChain As DWord, Flags As DWord, pRamp As *D3DGAMMARAMP) 70 Sub GetGammaRamp(iSwapChain As DWord, pRamp As *D3DGAMMARAMP) 71 Function CreateTexture(Width As DWord, Height As DWord, Levels As DWord, Usage As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppTexture As **IDirect3DTexture9, pSharedHandle As DWordPtr) As DWord 72 Function CreateVolumeTexture(Width As DWord, Height As DWord, Depth As DWord, Levels As DWord, Usage As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppVolumeTexture As **IDirect3DVolumeTexture9, pSharedHandle As DWordPtr) As DWord 73 Function CreateCubeTexture(EdgeLength As DWord, Levels As DWord, Usage As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppCubeTexture As **IDirect3DCubeTexture9, pSharedHandle As DWordPtr) As DWord 74 Function CreateVertexBuffer(Length As DWord, Usage As DWord, FVF As DWord, Pool As D3DPOOL, ppVertexBuffer As **IDirect3DVertexBuffer9, pSharedHandle As DWordPtr) As DWord 75 Function CreateIndexBuffer(Length As DWord, Usage As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppIndexBuffer As **IDirect3DIndexBuffer9, pSharedHandle As DWordPtr) As DWord 76 Function CreateRenderTarget(Width As DWord, Height As DWord, Format As D3DFORMAT, MultiSample As D3DMULTISAMPLE_TYPE, MultisampleQuality As DWord, Lockable As Long, ppSurface As **IDirect3DSurface9, pSharedHandle As DWordPtr) As DWord 77 Function CreateDepthStencilSurface(Width As DWord, Height As DWord, Format As D3DFORMAT, MultiSample As D3DMULTISAMPLE_TYPE, MultisampleQuality As DWord, Discard As Long, ppSurface As **IDirect3DSurface9, pSharedHandle As DWordPtr) As DWord 78 Function UpdateSurface(pSourceSurface As *IDirect3DSurface9, pSourceRect As *RECT, pDestinationSurface As *IDirect3DSurface9, pDestPoint As *POINTAPI) As DWord 79 Function UpdateTexture(pSourceTexture As *IDirect3DBaseTexture9, pDestinationTexture As *IDirect3DBaseTexture9) As DWord 80 Function GetRenderTargetData(pRenderTarget As *IDirect3DSurface9, pDestSurface As *IDirect3DSurface9) As DWord 81 Function GetFrontBufferData(iSwapChain As DWord, pDestSurface As *IDirect3DSurface9) As DWord 82 Function StretchRect(pSourceSurface As *IDirect3DSurface9, pSourceRect As *RECT, pDestSurface As *IDirect3DSurface9, pDestRect As *RECT, Filter As D3DTEXTUREFILTERTYPE) As DWord 83 Function ColorFill(pSurface As *IDirect3DSurface9, pRect As *RECT,dwColor As DWord) As DWord 84 Function CreateOffscreenPlainSurface(Width As DWord, Height As DWord, Format As D3DFORMAT, Pool As D3DPOOL, ppSurface As **IDirect3DSurface9, pSharedHandle As DWordPtr) As DWord 85 Function SetRenderTarget(RenderTargetIndex As DWord, pRenderTarget As *IDirect3DSurface9) As DWord 86 Function GetRenderTarget(RenderTargetIndex As DWord, ppRenderTarget As **IDirect3DSurface9) As DWord 87 Function SetDepthStencilSurface(pNewZStencil As *IDirect3DSurface9) As DWord 88 Function GetDepthStencilSurface(ppZStencilSurface As **IDirect3DSurface9) As DWord 89 Function BeginScene() As DWord 90 Function EndScene() As DWord 91 Function Clear(Count As DWord, pRects As *D3DRECT, Flags As DWord, dwColor As DWord, Z As Single, Stencil As DWord) As DWord 92 Function SetTransform(State As D3DTRANSFORMSTATETYPE, pMatrix As *D3DMATRIX) As DWord 93 Function GetTransform(State As D3DTRANSFORMSTATETYPE, pMatrix As *D3DMATRIX) As DWord 94 Function MultiplyTransform(State As D3DTRANSFORMSTATETYPE, pMatrix As *D3DMATRIX) As DWord 95 Function SetViewport(pViewport As *D3DVIEWPORT9) As DWord 96 Function GetViewport(pViewport As *D3DVIEWPORT9) As DWord 97 Function SetMaterial(pMaterial As *D3DMATERIAL9) As DWord 98 Function GetMaterial(pMaterial As *D3DMATERIAL9) As DWord 99 Function SetLight(Index As DWord, pLight As *D3DLIGHT9) As DWord 100 Function GetLight(Index As DWord, pLight As *D3DLIGHT9) As DWord 101 Function LightEnable(Index As DWord, Enable As Long) As DWord 102 Function GetLightEnable(Index As DWord, pEnable As DWordPtr) As DWord 103 Function SetClipPlane(Index As DWord, pPlane As SinglePtr) As DWord 104 Function GetClipPlane(Index As DWord, pPlane As SinglePtr) As DWord 105 Function SetRenderState(State As D3DRENDERSTATETYPE, Value As DWord) As DWord 106 Function GetRenderState(State As D3DRENDERSTATETYPE, pValue As DWordPtr) As DWord 107 Function CreateStateBlock(BlockType As D3DSTATEBLOCKTYPE, ppSB As **IDirect3DStateBlock9) As DWord 108 Function BeginStateBlock() As DWord 109 Function EndStateBlock(ppSB As **IDirect3DStateBlock9) As DWord 110 Function SetClipStatus(pClipStatus As *D3DCLIPSTATUS9) As DWord 111 Function GetClipStatus(pClipStatus As *D3DCLIPSTATUS9) As DWord 112 Function GetTexture(Stage As DWord, ppTexture As **IDirect3DBaseTexture9) As DWord 113 Function SetTexture(Stage As DWord, pTexture As *IDirect3DBaseTexture9) As DWord 114 Function GetTextureStageState(Stage As DWord, StateType As D3DTEXTURESTAGESTATETYPE, pValue As DWordPtr) As DWord 115 Function SetTextureStageState(Stage As DWord, StateType As D3DTEXTURESTAGESTATETYPE, Value As DWord) As DWord 116 Function GetSamplerState(Sampler As DWord, SamplerStateType As D3DSAMPLERSTATETYPE, pValue As DWordPtr) As DWord 117 Function SetSamplerState(Sampler As DWord, SamplerStateType As D3DSAMPLERSTATETYPE, Value As DWord) As DWord 118 Function ValidateDevice(pNumPasses As DWordPtr) As DWord 119 Function SetPaletteEntries(PaletteNumber As DWord, pEntries As *PALETTEENTRY) As DWord 120 Function GetPaletteEntries(PaletteNumber As DWord, pEntries As *PALETTEENTRY) As DWord 121 Function SetCurrentTexturePalette(PaletteNumber As DWord) As DWord 122 Function GetCurrentTexturePalette(pPaletteNumber As DWordPtr) As DWord 123 Function SetScissorRect(pRect As *RECT) As DWord 124 Function GetScissorRect(pRect As *RECT) As DWord 125 Function SetSoftwareVertexProcessing(bSoftware As Long) As DWord 126 Function GetSoftwareVertexProcessing() As Long 127 Function SetNPatchMode(nSegments As Single) As DWord 128 Function GetNPatchMode() As Single 129 Function DrawPrimitive(PrimitiveType As D3DPRIMITIVETYPE, StartVertex As DWord, PrimitiveCount As DWord) As DWord 130 Function DrawIndexedPrimitive(PrimitiveType As D3DPRIMITIVETYPE, BaseVertexIndex As Long, MinVertexIndex As DWord, NumVertices As DWord, startIndex As DWord, primCount As DWord) As DWord 131 Function DrawPrimitiveUP(PrimitiveType As D3DPRIMITIVETYPE, PrimitiveCount As DWord, pVertexStreamZeroData As VoidPtr, VertexStreamZeroStride As DWord) As DWord 132 Function DrawIndexedPrimitiveUP(PrimitiveType As D3DPRIMITIVETYPE, MinVertexIndex As DWord, NumVertices As DWord, PrimitiveCount As DWord, pIndexData As VoidPtr, IndexDataFormat As D3DFORMAT, pVertexStreamZeroData As VoidPtr, VertexStreamZeroStride As DWord) As DWord 133 Function ProcessVertices(SrcStartIndex As DWord, DestIndex As DWord, VertexCount As DWord, pDestBuffer As *IDirect3DVertexBuffer9, pVertexDecl As *IDirect3DVertexDeclaration9, Flags As DWord) As DWord 134 Function CreateVertexDeclaration(pVertexElements As *D3DVERTEXELEMENT9, ppDecl As **IDirect3DVertexDeclaration9) As DWord 135 Function SetVertexDeclaration(pDecl As *IDirect3DVertexDeclaration9) As DWord 136 Function GetVertexDeclaration(ppDecl As **IDirect3DVertexDeclaration9) As DWord 137 Function SetFVF(FVF As DWord) As DWord 138 Function GetFVF(pFVF As DWordPtr) As DWord 139 Function CreateVertexShader(pFunction As DWordPtr, ppShader As **IDirect3DVertexShader9) As DWord 140 Function SetVertexShader(pShader As *IDirect3DVertexShader9) As DWord 141 Function GetVertexShader(ppShader As **IDirect3DVertexShader9) As DWord 142 Function SetVertexShaderConstantF(StartRegister As DWord, pConstantData As SinglePtr, Vector4fCount As DWord) As DWord 143 Function GetVertexShaderConstantF(StartRegister As DWord, pConstantData As SinglePtr, Vector4fCount As DWord) As DWord 144 Function SetVertexShaderConstantI(StartRegister As DWord, pConstantData As WordPtr, Vector4iCount As DWord) As DWord 145 Function GetVertexShaderConstantI(StartRegister As DWord, pConstantData As WordPtr, Vector4iCount As DWord) As DWord 146 Function SetVertexShaderConstantB(StartRegister As DWord, pConstantData As DWordPtr, BoolCount As DWord) As DWord 147 Function GetVertexShaderConstantB(StartRegister As DWord, pConstantData As DWordPtr, BoolCount As DWord) As DWord 148 Function SetStreamSource(StreamNumber As DWord, pStreamData As *IDirect3DVertexBuffer9, OffsetInBytes As DWord, Stride As DWord) As DWord 149 Function GetStreamSource(StreamNumber As DWord, ppStreamData As **IDirect3DVertexBuffer9, pOffsetInBytes As DWordPtr, pStride As DWordPtr) As DWord 150 Function SetStreamSourceFreq(StreamNumber As DWord, Setting As DWord) As DWord 151 Function GetStreamSourceFreq(StreamNumber As DWord, pSetting As DWordPtr) As DWord 152 Function SetIndices(pIndexData As *IDirect3DIndexBuffer9) As DWord 153 Function GetIndices(ppIndexData As **IDirect3DIndexBuffer9) As DWord 154 Function CreatePixelShader(pFunction As DWordPtr, ppShader As **IDirect3DPixelShader9) As DWord 155 Function SetPixelShader(pShader As *IDirect3DPixelShader9) As DWord 156 Function GetPixelShader(ppShader As **IDirect3DPixelShader9) As DWord 157 Function SetPixelShaderConstantF(StartRegister As DWord, pConstantData As SinglePtr, Vector4fCount As DWord) As DWord 158 Function GetPixelShaderConstantF(StartRegister As DWord, pConstantData As SinglePtr, Vector4fCount As DWord) As DWord 159 Function SetPixelShaderConstantI(StartRegister As DWord, pConstantData As WordPtr, Vector4iCount As DWord) As DWord 160 Function GetPixelShaderConstantI(StartRegister As DWord, pConstantData As WordPtr, Vector4iCount As DWord) As DWord 161 Function SetPixelShaderConstantB(StartRegister As DWord, pConstantData As DWordPtr, BoolCount As DWord) As DWord 162 Function GetPixelShaderConstantB(StartRegister As DWord, pConstantData As DWordPtr, BoolCount As DWord) As DWord 163 Function DrawRectPatch(Handle As DWord, pNumSegs As SinglePtr, pRectPatchInfo As *D3DRECTPATCH_INFO) As DWord 164 Function DrawTriPatch(Handle As DWord, pNumSegs As SinglePtr, pTriPatchInfo As *D3DTRIPATCH_INFO) As DWord 165 Function DeletePatch(Handle As DWord) As DWord 166 Function CreateQuery(QueryType As D3DQUERYTYPE, ppQuery As **IDirect3DQuery9) As DWord 167 End Interface 168 168 TypeDef LPDIRECT3DDEVICE9 = *IDirect3DDevice9 169 169 170 ClassIDirect3DStateBlock9170 Interface IDirect3DStateBlock9 171 171 Inherits IUnknown 172 172 Public 173 173 'IDirect3DStateBlock9 methods 174 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord175 AbstractFunction Capture() As DWord176 AbstractFunction Apply() As DWord177 End Class174 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 175 Function Capture() As DWord 176 Function Apply() As DWord 177 End Interface 178 178 TypeDef LPDIRECT3DSTATEBLOCK9 = *IDirect3DStateBlock9 179 179 180 ClassIDirect3DSwapChain9180 Interface IDirect3DSwapChain9 181 181 Inherits IUnknown 182 182 Public 183 183 'IDirect3DSwapChain9 methods 184 AbstractFunction Present(pSourceRect As *RECT, pDestRect As *RECT, hDestWindowOverride As DWord, pDirtyRegion As *RGNDATA, dwFlags As DWord) As DWord185 AbstractFunction GetFrontBufferData(pDestSurface As *IDirect3DSurface9) As DWord186 AbstractFunction GetBackBuffer(iBackBuffer As DWord, bbtype As D3DBACKBUFFER_TYPE, ppBackBuffer As **IDirect3DSurface9) As DWord187 AbstractFunction GetRasterStatus(pRasterStatus As *D3DRASTER_STATUS) As DWord188 AbstractFunction GetDisplayMode(pMode As *D3DDISPLAYMODE) As DWord189 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord190 AbstractFunction GetPresentParameters(pPresentationParameters As *D3DPRESENT_PARAMETERS) As DWord191 End Class184 Function Present(pSourceRect As *RECT, pDestRect As *RECT, hDestWindowOverride As DWord, pDirtyRegion As *RGNDATA, dwFlags As DWord) As DWord 185 Function GetFrontBufferData(pDestSurface As *IDirect3DSurface9) As DWord 186 Function GetBackBuffer(iBackBuffer As DWord, bbtype As D3DBACKBUFFER_TYPE, ppBackBuffer As **IDirect3DSurface9) As DWord 187 Function GetRasterStatus(pRasterStatus As *D3DRASTER_STATUS) As DWord 188 Function GetDisplayMode(pMode As *D3DDISPLAYMODE) As DWord 189 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 190 Function GetPresentParameters(pPresentationParameters As *D3DPRESENT_PARAMETERS) As DWord 191 End Interface 192 192 TypeDef LPDIRECT3DSWAPCHAIN9 = *IDirect3DSwapChain9 193 193 194 ClassIDirect3DResource9194 Interface IDirect3DResource9 195 195 Inherits IUnknown 196 196 Public 197 197 'IDirect3DResource9 methods 198 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord199 AbstractFunction SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord200 AbstractFunction GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord201 AbstractFunction FreePrivateData(ByRef refguid As GUID) As DWord202 AbstractFunction SetPriority(PriorityNew As DWord) As DWord203 AbstractFunction GetPriority() As DWord204 AbstractSub PreLoad()205 AbstractFunction GetType() As D3DRESOURCETYPE206 End Class198 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 199 Function SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord 200 Function GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord 201 Function FreePrivateData(ByRef refguid As GUID) As DWord 202 Function SetPriority(PriorityNew As DWord) As DWord 203 Function GetPriority() As DWord 204 Sub PreLoad() 205 Function GetType() As D3DRESOURCETYPE 206 End Interface 207 207 TypeDef LPDIRECT3DRESOURCE9 = *IDirect3DResource9 208 208 209 ClassIDirect3DVertexDeclaration9209 Interface IDirect3DVertexDeclaration9 210 210 Inherits IUnknown 211 211 Public 212 212 'IDirect3DVertexDeclaration9 methods 213 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord214 AbstractFunction GetDeclaration(pElement As *D3DVERTEXELEMENT9, pNumElements As DWordPtr) As DWord215 End Class213 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 214 Function GetDeclaration(pElement As *D3DVERTEXELEMENT9, pNumElements As DWordPtr) As DWord 215 End Interface 216 216 TypeDef LPDIRECT3DVERTEXDECLARATION9 = *IDirect3DVertexDeclaration9 217 217 218 ClassIDirect3DVertexShader9218 Interface IDirect3DVertexShader9 219 219 Inherits IUnknown 220 220 Public 221 221 'IDirect3DVertexShader9 methods 222 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord223 AbstractFunction GetFunction(pData As VoidPtr, pSizeOfData As DWordPtr) As DWord224 End Class222 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 223 Function GetFunction(pData As VoidPtr, pSizeOfData As DWordPtr) As DWord 224 End Interface 225 225 TypeDef LPDIRECT3DVERTEXSHADER9 = *IDirect3DVertexShader9 226 226 227 ClassIDirect3DPixelShader9227 Interface IDirect3DPixelShader9 228 228 Inherits IUnknown 229 229 Public 230 230 'IDirect3DPixelShader9 methods 231 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord232 AbstractFunction GetFunction(pData As VoidPtr, pSizeOfData As DWordPtr) As DWord233 End Class231 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 232 Function GetFunction(pData As VoidPtr, pSizeOfData As DWordPtr) As DWord 233 End Interface 234 234 TypeDef LPDIRECT3DPIXELSHADER9 = *IDirect3DPixelShader9 235 235 236 ClassIDirect3DBaseTexture9236 Interface IDirect3DBaseTexture9 237 237 Inherits IUnknown 238 238 Public 239 239 'IDirect3DResource9 methods 240 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord241 AbstractFunction SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord242 AbstractFunction GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord243 AbstractFunction FreePrivateData(ByRef refguid As GUID) As DWord244 AbstractFunction SetPriority(PriorityNew As DWord) As DWord245 AbstractFunction GetPriority() As DWord246 AbstractSub PreLoad()247 AbstractFunction GetType() As D3DRESOURCETYPE248 AbstractFunction SetLOD(LODNew As DWord) As DWord249 AbstractFunction GetLOD() As DWord250 AbstractFunction GetLevelCount() As DWord251 AbstractFunction SetAutoGenFilterType(FilterType As D3DTEXTUREFILTERTYPE) As DWord252 AbstractFunction GetAutoGenFilterType() As D3DTEXTUREFILTERTYPE253 AbstractSub GenerateMipSubLevels()254 End Class240 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 241 Function SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord 242 Function GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord 243 Function FreePrivateData(ByRef refguid As GUID) As DWord 244 Function SetPriority(PriorityNew As DWord) As DWord 245 Function GetPriority() As DWord 246 Sub PreLoad() 247 Function GetType() As D3DRESOURCETYPE 248 Function SetLOD(LODNew As DWord) As DWord 249 Function GetLOD() As DWord 250 Function GetLevelCount() As DWord 251 Function SetAutoGenFilterType(FilterType As D3DTEXTUREFILTERTYPE) As DWord 252 Function GetAutoGenFilterType() As D3DTEXTUREFILTERTYPE 253 Sub GenerateMipSubLevels() 254 End Interface 255 255 TypeDef LPDIRECT3DBASETEXTURE9 = *IDirect3DBaseTexture9 256 256 257 ClassIDirect3DTexture9257 Interface IDirect3DTexture9 258 258 Inherits IDirect3DBaseTexture9 259 259 Public 260 AbstractFunction GetLevelDesc(Level As DWord, pDesc As *D3DSURFACE_DESC) As DWord261 AbstractFunction GetSurfaceLevel(Level As DWord, ppSurfaceLevel As **IDirect3DSurface9) As DWord262 AbstractFunction LockRect(Level As DWord, pLockedRect As *D3DLOCKED_RECT, pRect As *RECT, Flags As DWord) As DWord263 AbstractFunction UnlockRect(Level As DWord) As DWord264 AbstractFunction AddDirtyRect(pDirtyRect As *RECT) As DWord265 End Class260 Function GetLevelDesc(Level As DWord, pDesc As *D3DSURFACE_DESC) As DWord 261 Function GetSurfaceLevel(Level As DWord, ppSurfaceLevel As **IDirect3DSurface9) As DWord 262 Function LockRect(Level As DWord, pLockedRect As *D3DLOCKED_RECT, pRect As *RECT, Flags As DWord) As DWord 263 Function UnlockRect(Level As DWord) As DWord 264 Function AddDirtyRect(pDirtyRect As *RECT) As DWord 265 End Interface 266 266 TypeDef LPDIRECT3DTEXTURE9 = *IDirect3DTexture9 267 267 268 ClassIDirect3DVolumeTexture9268 Interface IDirect3DVolumeTexture9 269 269 Inherits IDirect3DBaseTexture9 270 270 Public 271 AbstractFunction GetLevelDesc(Level As DWord, pDesc As *D3DSURFACE_DESC) As DWord272 AbstractFunction GetVolumeLevel(Level As DWord, ppVolumeLevel As **IDirect3DVolume9) As DWord273 AbstractFunction LockBox(Level As DWord, pLockedVolume As *D3DLOCKED_BOX, pBox As *D3DBOX, Flags As DWord) As DWord274 AbstractFunction UnlockBox(Level As DWord) As DWord275 AbstractFunction AddDirtyBox(pDirtyBox As *D3DBOX) As DWord276 End Class271 Function GetLevelDesc(Level As DWord, pDesc As *D3DSURFACE_DESC) As DWord 272 Function GetVolumeLevel(Level As DWord, ppVolumeLevel As **IDirect3DVolume9) As DWord 273 Function LockBox(Level As DWord, pLockedVolume As *D3DLOCKED_BOX, pBox As *D3DBOX, Flags As DWord) As DWord 274 Function UnlockBox(Level As DWord) As DWord 275 Function AddDirtyBox(pDirtyBox As *D3DBOX) As DWord 276 End Interface 277 277 TypeDef LPDIRECT3DVOLUMETEXTURE9 = *IDirect3DVolumeTexture9 278 278 279 ClassIDirect3DCubeTexture9279 Interface IDirect3DCubeTexture9 280 280 Inherits IDirect3DBaseTexture9 281 End Class281 End Interface 282 282 TypeDef LPDIRECT3DCUBETEXTURE9 = *IDirect3DCubeTexture9 283 283 284 ClassIDirect3DVertexBuffer9284 Interface IDirect3DVertexBuffer9 285 285 Inherits IUnknown 286 286 Public 287 287 'IDirect3DResource9 methods 288 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord289 AbstractFunction SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord290 AbstractFunction GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord291 AbstractFunction FreePrivateData(ByRef refguid As GUID) As DWord292 AbstractFunction SetPriority(PriorityNew As DWord) As DWord293 AbstractFunction GetPriority() As DWord294 AbstractSub PreLoad()295 AbstractFunction GetType() As D3DRESOURCETYPE296 AbstractFunction Lock(OffsetToLock As DWord, SizeToLock As DWord, ppbData As VoidPtr, Flags As DWord) As DWord297 AbstractFunction Unlock() As DWord298 AbstractFunction GetDesc(pDesc As *D3DVERTEXBUFFER_DESC) As DWord299 End Class288 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 289 Function SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord 290 Function GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord 291 Function FreePrivateData(ByRef refguid As GUID) As DWord 292 Function SetPriority(PriorityNew As DWord) As DWord 293 Function GetPriority() As DWord 294 Sub PreLoad() 295 Function GetType() As D3DRESOURCETYPE 296 Function Lock(OffsetToLock As DWord, SizeToLock As DWord, ppbData As VoidPtr, Flags As DWord) As DWord 297 Function Unlock() As DWord 298 Function GetDesc(pDesc As *D3DVERTEXBUFFER_DESC) As DWord 299 End Interface 300 300 TypeDef LPDIRECT3DVERTEXBUFFER9 = *IDirect3DVertexBuffer9 301 301 302 ClassIDirect3DIndexBuffer9302 Interface IDirect3DIndexBuffer9 303 303 Inherits IUnknown 304 304 Public 305 305 'IDirect3DResource9 methods 306 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord307 AbstractFunction SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord308 AbstractFunction GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord309 AbstractFunction FreePrivateData(ByRef refguid As GUID) As DWord310 AbstractFunction SetPriority(PriorityNew As DWord) As DWord311 AbstractFunction GetPriority() As DWord312 AbstractSub PreLoad()313 AbstractFunction GetType() As D3DRESOURCETYPE314 AbstractFunction Lock(OffsetToLock As DWord, SizeToLock As DWord, ppbData As VoidPtr, Flags As DWord) As DWord315 AbstractFunction Unlock() As DWord316 AbstractFunction GetDesc(pDesc As *D3DINDEXBUFFER_DESC) As DWord317 End Class306 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 307 Function SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord 308 Function GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord 309 Function FreePrivateData(ByRef refguid As GUID) As DWord 310 Function SetPriority(PriorityNew As DWord) As DWord 311 Function GetPriority() As DWord 312 Sub PreLoad() 313 Function GetType() As D3DRESOURCETYPE 314 Function Lock(OffsetToLock As DWord, SizeToLock As DWord, ppbData As VoidPtr, Flags As DWord) As DWord 315 Function Unlock() As DWord 316 Function GetDesc(pDesc As *D3DINDEXBUFFER_DESC) As DWord 317 End Interface 318 318 TypeDef LPDIRECT3DINDEXBUFFER9 = *IDirect3DIndexBuffer9 319 319 320 ClassIDirect3DSurface9320 Interface IDirect3DSurface9 321 321 Inherits IUnknown 322 322 Public 323 323 'IDirect3DResource9 methods 324 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord325 AbstractFunction SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord326 AbstractFunction GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord327 AbstractFunction FreePrivateData(ByRef refguid As GUID) As DWord328 AbstractFunction SetPriority(PriorityNew As DWord) As DWord329 AbstractFunction GetPriority() As DWord330 AbstractSub PreLoad()331 AbstractFunction GetType() As D3DRESOURCETYPE332 AbstractFunction GetContainer(ByRef riid As GUID, ppContainer As VoidPtr) As DWord333 AbstractFunction GetDesc(pDesc As *D3DSURFACE_DESC) As DWord334 AbstractFunction LockRect(pLockedRect As *D3DLOCKED_RECT, pRect As *RECT, Flags As DWord) As DWord335 AbstractFunction UnlockRect() As DWord336 AbstractFunction GetDC(phdc As DWordPtr) As DWord337 AbstractFunction ReleaseDC(hdc As DWord) As DWord338 End Class324 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 325 Function SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord 326 Function GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord 327 Function FreePrivateData(ByRef refguid As GUID) As DWord 328 Function SetPriority(PriorityNew As DWord) As DWord 329 Function GetPriority() As DWord 330 Sub PreLoad() 331 Function GetType() As D3DRESOURCETYPE 332 Function GetContainer(ByRef riid As GUID, ppContainer As VoidPtr) As DWord 333 Function GetDesc(pDesc As *D3DSURFACE_DESC) As DWord 334 Function LockRect(pLockedRect As *D3DLOCKED_RECT, pRect As *RECT, Flags As DWord) As DWord 335 Function UnlockRect() As DWord 336 Function GetDC(phdc As DWordPtr) As DWord 337 Function ReleaseDC(hdc As DWord) As DWord 338 End Interface 339 339 TypeDef LPDIRECT3DSURFACE9 = *IDirect3DSurface9 340 340 341 ClassIDirect3DVolume9341 Interface IDirect3DVolume9 342 342 Inherits IUnknown 343 343 Public 344 344 'IDirect3DVolume9 methods 345 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord346 AbstractFunction SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord347 AbstractFunction GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord348 AbstractFunction FreePrivateData(ByRef refguid As GUID) As DWord349 AbstractFunction GetContainer(ByRef riid As GUID, ppContainer As DWordPtr) As DWord350 AbstractFunction GetDesc(pDesc As *D3DVOLUME_DESC) As DWord351 AbstractFunction LockBox(pLockedVolume As *D3DLOCKED_BOX, pBox As *D3DBOX, Flags As DWord) As DWord352 AbstractFunction UnlockBox() As DWord353 End Class345 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 346 Function SetPrivateData(ByRef refguid As GUID, pData As VoidPtr, SizeOfData As DWord, Flags As DWord) As DWord 347 Function GetPrivateData(ByRef refguid As GUID, pData As VoidPtr, pSizeOfData As DWordPtr) As DWord 348 Function FreePrivateData(ByRef refguid As GUID) As DWord 349 Function GetContainer(ByRef riid As GUID, ppContainer As DWordPtr) As DWord 350 Function GetDesc(pDesc As *D3DVOLUME_DESC) As DWord 351 Function LockBox(pLockedVolume As *D3DLOCKED_BOX, pBox As *D3DBOX, Flags As DWord) As DWord 352 Function UnlockBox() As DWord 353 End Interface 354 354 TypeDef LPDIRECT3DVOLUME9 = *IDirect3DVolume9 355 355 356 ClassIDirect3DQuery9356 Interface IDirect3DQuery9 357 357 Inherits IUnknown 358 358 Public 359 359 'IDirect3DQuery9 methods 360 AbstractFunction GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord361 AbstractFunction GetType() As D3DQUERYTYPE362 AbstractFunction GetDataSize() As DWord363 AbstractFunction Issue(dwIssueFlags As DWord) As DWord364 AbstractFunction GetData(pData As VoidPtr, dwSize As DWord, dwGetDataFlags As DWord) As DWord365 End Class360 Function GetDevice(ppDevice As *LPDIRECT3DDEVICE9) As DWord 361 Function GetType() As D3DQUERYTYPE 362 Function GetDataSize() As DWord 363 Function Issue(dwIssueFlags As DWord) As DWord 364 Function GetData(pData As VoidPtr, dwSize As DWord, dwGetDataFlags As DWord) As DWord 365 End Interface 366 366 TypeDef LPDIRECT3DQUERY9 = *IDirect3DQuery9 367 367
Note:
See TracChangeset
for help on using the changeset viewer.