⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 d3d9.h

📁 北京大学ACM在线评测系统 OnlineJudge
💻 H
📖 第 1 页 / 共 5 页
字号:
#define IDirect3DDevice9_DeletePatch(p,a)	(p)->lpVtbl->DeletePatch(p,a)#define IDirect3DDevice9_CreateQuery(p,a,b)	(p)->lpVtbl->CreateQuery(p,a,b)#else#define IDirect3DDevice9_QueryInterface(p,a,b)	(p)->QueryInterface(a,b)#define IDirect3DDevice9_AddRef(p)	(p)->AddRef()#define IDirect3DDevice9_Release(p)	(p)->Release()#define IDirect3DDevice9_TestCooperativeLevel(p)	(p)->TestCooperativeLevel()#define IDirect3DDevice9_GetAvailableTextureMem(p)	(p)->GetAvailableTextureMem()#define IDirect3DDevice9_EvictManagedResources(p)	(p)->EvictManagedResources()#define IDirect3DDevice9_GetDirect3D(p,a)	(p)->GetDirect3D(a)#define IDirect3DDevice9_GetDeviceCaps(p,a)	(p)->GetDeviceCaps(a)#define IDirect3DDevice9_GetDisplayMode(p,a,b)	(p)->GetDisplayMode(a,b)#define IDirect3DDevice9_GetCreationParameters(p,a)	(p)->GetCreationParameters(a)#define IDirect3DDevice9_SetCursorProperties(p,a,b,c)	(p)->SetCursorProperties(a,b,c)#define IDirect3DDevice9_SetCursorPosition(p,a,b,c)	(p)->SetCursorPosition(a,b,c)#define IDirect3DDevice9_ShowCursor(p,a)	(p)->ShowCursor(a)#define IDirect3DDevice9_CreateAdditionalSwapChain(p,a,b)	(p)->CreateAdditionalSwapChain(a,b)#define IDirect3DDevice9_GetSwapChain(p,a,b)	(p)->GetSwapChain(a,b)#define IDirect3DDevice9_GetNumberOfSwapChains(p)	(p)->GetNumberOfSwapChains()#define IDirect3DDevice9_Reset(p,a)	(p)->Reset(a)#define IDirect3DDevice9_Present(p,a,b,c,d)	(p)->Present(a,b,c,d)#define IDirect3DDevice9_GetBackBuffer(p,a,b,c,d)	(p)->GetBackBuffer(a,b,c,d)#define IDirect3DDevice9_GetRasterStatus(p,a,b)	(p)->GetRasterStatus(a,b)#define IDirect3DDevice9_SetDialogBoxMode(p,a)	(p)->SetDialogBoxMode(a)#define IDirect3DDevice9_SetGammaRamp(p,a,b,c)	(p)->SetGammaRamp(a,b,c)#define IDirect3DDevice9_GetGammaRamp(p,a,b)	(p)->GetGammaRamp(a,b)#define IDirect3DDevice9_CreateTexture(p,a,b,c,d,e,f,g,h)	(p)->CreateTexture(a,b,c,d,e,f,g,h)#define IDirect3DDevice9_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i)	(p)->CreateVolumeTexture(a,b,c,d,e,f,g,h,i)#define IDirect3DDevice9_CreateCubeTexture(p,a,b,c,d,e,f,g)	(p)->CreateCubeTexture(a,b,c,d,e,f,g)#define IDirect3DDevice9_CreateVertexBuffer(p,a,b,c,d,e,f)	(p)->CreateVertexBuffer(a,b,c,d,e,f)#define IDirect3DDevice9_CreateIndexBuffer(p,a,b,c,d,e,f)	(p)->CreateIndexBuffer(a,b,c,d,e,f)#define IDirect3DDevice9_CreateRenderTarget(p,a,b,c,d,e,f,g,h)	(p)->CreateRenderTarget(a,b,c,d,e,f,g,h)#define IDirect3DDevice9_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h)	(p)->CreateDepthStencilSurface(a,b,c,d,e,f,g,h)#define IDirect3DDevice9_UpdateSurface(p,a,b,c,d)	(p)->UpdateSurface(a,b,c,d)#define IDirect3DDevice9_UpdateTexture(p,a,b)	(p)->UpdateTexture(a,b)#define IDirect3DDevice9_GetRenderTargetData(p,a,b)	(p)->GetRenderTargetData(a,b)#define IDirect3DDevice9_GetFrontBufferData(p,a,b)	(p)->GetFrontBufferData(a,b)#define IDirect3DDevice9_StretchRect(p,a,b,c,d,e)	(p)->StretchRect(a,b,c,d,e)#define IDirect3DDevice9_ColorFill(p,a,b,c)	(p)->ColorFill(a,b,c)#define IDirect3DDevice9_CreateOffscreenPlainSurface(p,a,b,c,d,e,f)	(p)->CreateOffscreenPlainSurface(a,b,c,d,e,f)#define IDirect3DDevice9_SetRenderTarget(p,a,b)	(p)->SetRenderTarget(a,b)#define IDirect3DDevice9_GetRenderTarget(p,a,b)	(p)->GetRenderTarget(a,b)#define IDirect3DDevice9_SetDepthStencilSurface(p,a)	(p)->SetDepthStencilSurface(a)#define IDirect3DDevice9_GetDepthStencilSurface(p,a)	(p)->GetDepthStencilSurface(a)#define IDirect3DDevice9_BeginScene(p)	(p)->BeginScene()#define IDirect3DDevice9_EndScene(p)	(p)->EndScene()#define IDirect3DDevice9_Clear(p,a,b,c,d,e,f)	(p)->Clear(a,b,c,d,e,f)#define IDirect3DDevice9_SetTransform(p,a,b)	(p)->SetTransform(a,b)#define IDirect3DDevice9_GetTransform(p,a,b)	(p)->GetTransform(a,b)#define IDirect3DDevice9_MultiplyTransform(p,a,b)	(p)->MultiplyTransform(a,b)#define IDirect3DDevice9_SetViewport(p,a)	(p)->SetViewport(a)#define IDirect3DDevice9_GetViewport(p,a)	(p)->GetViewport(a)#define IDirect3DDevice9_SetMaterial(p,a)	(p)->SetMaterial(a)#define IDirect3DDevice9_GetMaterial(p,a)	(p)->GetMaterial(a)#define IDirect3DDevice9_SetLight(p,a,b)	(p)->SetLight(a,b)#define IDirect3DDevice9_GetLight(p,a,b)	(p)->GetLight(a,b)#define IDirect3DDevice9_LightEnable(p,a,b)	(p)->LightEnable(a,b)#define IDirect3DDevice9_GetLightEnable(p,a,b)	(p)->GetLightEnable(a,b)#define IDirect3DDevice9_SetClipPlane(p,a,b)	(p)->SetClipPlane(a,b)#define IDirect3DDevice9_GetClipPlane(p,a,b)	(p)->GetClipPlane(a,b)#define IDirect3DDevice9_SetRenderState(p,a,b)	(p)->SetRenderState(a,b)#define IDirect3DDevice9_GetRenderState(p,a,b)	(p)->GetRenderState(a,b)#define IDirect3DDevice9_CreateStateBlock(p,a,b)	(p)->CreateStateBlock(a,b)#define IDirect3DDevice9_BeginStateBlock(p)	(p)->BeginStateBlock()#define IDirect3DDevice9_EndStateBlock(p,a)	(p)->EndStateBlock(a)#define IDirect3DDevice9_SetClipStatus(p,a)	(p)->SetClipStatus(a)#define IDirect3DDevice9_GetClipStatus(p,a)	(p)->GetClipStatus(a)#define IDirect3DDevice9_GetTexture(p,a,b)	(p)->GetTexture(a,b)#define IDirect3DDevice9_SetTexture(p,a,b)	(p)->SetTexture(a,b)#define IDirect3DDevice9_GetTextureStageState(p,a,b,c)	(p)->GetTextureStageState(a,b,c)#define IDirect3DDevice9_SetTextureStageState(p,a,b,c)	(p)->SetTextureStageState(a,b,c)#define IDirect3DDevice9_GetSamplerState(p,a,b,c)	(p)->GetSamplerState(a,b,c)#define IDirect3DDevice9_SetSamplerState(p,a,b,c)	(p)->SetSamplerState(a,b,c)#define IDirect3DDevice9_ValidateDevice(p,a)	(p)->ValidateDevice(a)#define IDirect3DDevice9_SetPaletteEntries(p,a,b)	(p)->SetPaletteEntries(a,b)#define IDirect3DDevice9_GetPaletteEntries(p,a,b)	(p)->GetPaletteEntries(a,b)#define IDirect3DDevice9_SetCurrentTexturePalette(p,a)	(p)->SetCurrentTexturePalette(a)#define IDirect3DDevice9_GetCurrentTexturePalette(p,a)	(p)->GetCurrentTexturePalette(a)#define IDirect3DDevice9_SetScissorRect(p,a)	(p)->SetScissorRect(a)#define IDirect3DDevice9_GetScissorRect(p,a)	(p)->GetScissorRect(a)#define IDirect3DDevice9_SetSoftwareVertexProcessing(p,a)	(p)->SetSoftwareVertexProcessing(a)#define IDirect3DDevice9_GetSoftwareVertexProcessing(p)	(p)->GetSoftwareVertexProcessing()#define IDirect3DDevice9_SetNPatchMode(p,a)	(p)->SetNPatchMode(a)#define IDirect3DDevice9_GetNPatchMode(p)	(p)->GetNPatchMode()#define IDirect3DDevice9_DrawPrimitive(p,a,b,c)	(p)->DrawPrimitive(a,b,c)#define IDirect3DDevice9_DrawIndexedPrimitive(p,a,b,c,d,e,f)	(p)->DrawIndexedPrimitive(a,b,c,d,e,f)#define IDirect3DDevice9_DrawPrimitiveUP(p,a,b,c,d)	(p)->DrawPrimitiveUP(a,b,c,d)#define IDirect3DDevice9_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h)	(p)->DrawIndexedPrimitiveUP(a,b,c,d,e,f,g,h)#define IDirect3DDevice9_ProcessVertices(p,a,b,c,d,e,f)	(p)->ProcessVertices(a,b,c,d,e,f)#define IDirect3DDevice9_CreateVertexDeclaration(p,a,b)	(p)->CreateVertexDeclaration(a,b)#define IDirect3DDevice9_SetVertexDeclaration(p,a)	(p)->SetVertexDeclaration(a)#define IDirect3DDevice9_GetVertexDeclaration(p,a)	(p)->GetVertexDeclaration(a)#define IDirect3DDevice9_SetFVF(p,a)	(p)->SetFVF(a)#define IDirect3DDevice9_GetFVF(p,a)	(p)->GetFVF(a)#define IDirect3DDevice9_CreateVertexShader(p,a,b)	(p)->CreateVertexShader(a,b)#define IDirect3DDevice9_SetVertexShader(p,a)	(p)->SetVertexShader(a)#define IDirect3DDevice9_GetVertexShader(p,a)	(p)->GetVertexShader(a)#define IDirect3DDevice9_SetVertexShaderConstantF(p,a,b,c)	(p)->SetVertexShaderConstantF(a,b,c)#define IDirect3DDevice9_GetVertexShaderConstantF(p,a,b,c)	(p)->GetVertexShaderConstantF(a,b,c)#define IDirect3DDevice9_SetVertexShaderConstantI(p,a,b,c)	(p)->SetVertexShaderConstantI(a,b,c)#define IDirect3DDevice9_GetVertexShaderConstantI(p,a,b,c)	(p)->GetVertexShaderConstantI(a,b,c)#define IDirect3DDevice9_SetVertexShaderConstantB(p,a,b,c)	(p)->SetVertexShaderConstantB(a,b,c)#define IDirect3DDevice9_GetVertexShaderConstantB(p,a,b,c)	(p)->GetVertexShaderConstantB(a,b,c)#define IDirect3DDevice9_SetStreamSource(p,a,b,c,d)	(p)->SetStreamSource(a,b,c,d)#define IDirect3DDevice9_GetStreamSource(p,a,b,c,d)	(p)->GetStreamSource(a,b,c,d)#define IDirect3DDevice9_SetStreamSourceFreq(p,a,b)	(p)->SetStreamSourceFreq(a,b)#define IDirect3DDevice9_GetStreamSourceFreq(p,a,b)	(p)->GetStreamSourceFreq(a,b)#define IDirect3DDevice9_SetIndices(p,a)	(p)->SetIndices(a)#define IDirect3DDevice9_GetIndices(p,a)	(p)->GetIndices(a)#define IDirect3DDevice9_CreatePixelShader(p,a,b)	(p)->CreatePixelShader(a,b)#define IDirect3DDevice9_SetPixelShader(p,a)	(p)->SetPixelShader(a)#define IDirect3DDevice9_GetPixelShader(p,a)	(p)->GetPixelShader(a)#define IDirect3DDevice9_SetPixelShaderConstantF(p,a,b,c)	(p)->SetPixelShaderConstantF(a,b,c)#define IDirect3DDevice9_GetPixelShaderConstantF(p,a,b,c)	(p)->GetPixelShaderConstantF(a,b,c)#define IDirect3DDevice9_SetPixelShaderConstantI(p,a,b,c)	(p)->SetPixelShaderConstantI(a,b,c)#define IDirect3DDevice9_GetPixelShaderConstantI(p,a,b,c)	(p)->GetPixelShaderConstantI(a,b,c)#define IDirect3DDevice9_SetPixelShaderConstantB(p,a,b,c)	(p)->SetPixelShaderConstantB(a,b,c)#define IDirect3DDevice9_GetPixelShaderConstantB(p,a,b,c)	(p)->GetPixelShaderConstantB(a,b,c)#define IDirect3DDevice9_DrawRectPatch(p,a,b,c)	(p)->DrawRectPatch(a,b,c)#define IDirect3DDevice9_DrawTriPatch(p,a,b,c)	(p)->DrawTriPatch(a,b,c)#define IDirect3DDevice9_DeletePatch(p,a)	(p)->DeletePatch(a)#define IDirect3DDevice9_CreateQuery(p,a,b)	(p)->CreateQuery(a,b)#endif#undef INTERFACE#define INTERFACE IDirect3DVolume9DECLARE_INTERFACE_(IDirect3DVolume9,IUnknown){	STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;	STDMETHOD_(ULONG,AddRef)(THIS) PURE;	STDMETHOD_(ULONG,Release)(THIS) PURE;	STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9**) PURE;	STDMETHOD(SetPrivateData)(THIS_ REFGUID,CONST void*,DWORD,DWORD) PURE;	STDMETHOD(GetPrivateData)(THIS_ REFGUID,void*,DWORD*) PURE;	STDMETHOD(FreePrivateData)(THIS_ REFGUID) PURE;	STDMETHOD(GetContainer)(THIS_ REFIID,void**) PURE;	STDMETHOD(GetDesc)(THIS_ D3DVOLUME_DESC*) PURE;	STDMETHOD(LockBox)(THIS_ D3DLOCKED_BOX*,CONST D3DBOX*,DWORD) PURE;	STDMETHOD(UnlockBox)(THIS) PURE;};typedef struct IDirect3DVolume9 *LPDIRECT3DVOLUME9, *PDIRECT3DVOLUME9;#if !defined(__cplusplus) || defined(CINTERFACE)#define IDirect3DVolume9_QueryInterface(p,a,b)	(p)->lpVtbl->QueryInterface(p,a,b)#define IDirect3DVolume9_AddRef(p)	(p)->lpVtbl->AddRef(p)#define IDirect3DVolume9_Release(p)	(p)->lpVtbl->Release(p)#define IDirect3DVolume9_GetDevice(p,a)	(p)->lpVtbl->GetDevice(p,a)#define IDirect3DVolume9_SetPrivateData(p,a,b,c,d)	(p)->lpVtbl->SetPrivateData(p,a,b,c,d)#define IDirect3DVolume9_GetPrivateData(p,a,b,c)	(p)->lpVtbl->GetPrivateData(p,a,b,c)#define IDirect3DVolume9_FreePrivateData(p,a)	(p)->lpVtbl->FreePrivateData(p,a)#define IDirect3DVolume9_GetContainer(p,a,b)	(p)->lpVtbl->GetContainer(p,a,b)#define IDirect3DVolume9_GetDesc(p,a)	(p)->lpVtbl->GetDesc(p,a)#define IDirect3DVolume9_LockBox(p,a,b,c)	(p)->lpVtbl->LockBox(p,a,b,c)#define IDirect3DVolume9_UnlockBox(p)	(p)->lpVtbl->UnlockBox(p)#else#define IDirect3DVolume9_QueryInterface(p,a,b)	(p)->QueryInterface(a,b)#define IDirect3DVolume9_AddRef(p)	(p)->AddRef()#define IDirect3DVolume9_Release(p)	(p)->Release()#define IDirect3DVolume9_GetDevice(p,a)	(p)->GetDevice(a)#define IDirect3DVolume9_SetPrivateData(p,a,b,c,d)	(p)->SetPrivateData(a,b,c,d)#define IDirect3DVolume9_GetPrivateData(p,a,b,c)	(p)->GetPrivateData(a,b,c)#define IDirect3DVolume9_FreePrivateData(p,a)	(p)->FreePrivateData(a)#define IDirect3DVolume9_GetContainer(p,a,b)	(p)->GetContainer(a,b)#define IDirect3DVolume9_GetDesc(p,a)	(p)->GetDesc(a)#define IDirect3DVolume9_LockBox(p,a,b,c)	(p)->LockBox(a,b,c)#define IDirect3DVolume9_UnlockBox(p)	(p)->UnlockBox()#endif#undef INTERFACE#define INTERFACE IDirect3DSwapChain9DECLARE_INTERFACE_(IDirect3DSwapChain9,IUnknown){	STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;	STDMETHOD_(ULONG,AddRef)(THIS) PURE;	STDMETHOD_(ULONG,Release)(THIS) PURE;	STDMETHOD(Present)(THIS_ CONST RECT*,CONST RECT*,HWND,CONST RGNDATA*,DWORD) PURE;	STDMETHOD(GetFrontBufferData)(THIS_ IDirect3DSurface9*) PURE;	STDMETHOD(GetBackBuffer)(THIS_ UINT,D3DBACKBUFFER_TYPE,IDirect3DSurface9**) PURE;	STDMETHOD(GetRasterStatus)(THIS_ D3DRASTER_STATUS*) PURE;	STDMETHOD(GetDisplayMode)(THIS_ D3DDISPLAYMODE*) PURE;	STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9**) PURE;	STDMETHOD(GetPresentParameters)(THIS_ D3DPRESENT_PARAMETERS*) PURE;};typedef struct IDirect3DSwapChain9 *LPDIRECT3DSWAPCHAIN9, *PDIRECT3DSWAPCHAIN9;#if !defined(__cplusplus) || defined(CINTERFACE)#define IDirect3DSwapChain9_QueryInterface(p,a,b)	(p)->lpVtbl->QueryInterface(p,a,b)#define IDirect3DSwapChain9_AddRef(p)	(p)->lpVtbl->AddRef(p)#define IDirect3DSwapChain9_Release(p)	(p)->lpVtbl->Release(p)#define IDirect3DSwapChain9_Present(p,a,b,c,d,e)	(p)->lpVtbl->Present(p,a,b,c,d,e)#define IDirect3DSwapChain9_GetFrontBufferData(p,a)	(p)->lpVtbl->GetFrontBufferData(p,a)#define IDirect3DSwapChain9_GetBackBuffer(p,a,b,c)	(p)->lpVtbl->GetBackBuffer(p,a,b,c)#define IDirect3DSwapChain9_GetRasterStatus(p,a)	(p)->lpVtbl->GetRasterStatus(p,a)#define IDirect3DSwapChain9_GetDisplayMode(p,a)	(p)->lpVtbl->GetDisplayMode(p,a)#define IDirect3DSwapChain9_GetDevice(p,a)	(p)->lpVtbl->GetDevice(p,a)#define IDirect3DSwapChain9_GetPresentParameters(p,a)	(p)->lpVtbl->GetPresentParameters(p,a)#else#define IDirect3DSwapChain9_QueryInterface(p,a,b)	(p)->QueryInterface(a,b)#define IDirect3DSwapChain9_AddRef(p)	(p)->AddRef()#define IDirect3DSwapChain9_Release(p)	(p)->Release()#define IDirect3DSwapChain9_Present(p,a,b,c,d,e)	(p)->Present(a,b,c,d,e)#define IDirect3DSwapChain9_GetFrontBufferData(p,a)	(p)->GetFrontBufferData(a)#define IDirect3DSwapChain9_GetBackBuffer(p,a,b,c)	(p)->GetBackBuffer(a,b,c)#define IDirect3DSwapChain9_GetRasterStatus(p,a)	(p)->GetRasterStatus(a)#define IDirect3DSwapChain9_GetDisplayMode(p,a)	(p)->GetDisplayMode(a)#define IDirect3DSwapChain9_GetDevice(p,a)	(p)->GetDevice(a)#define IDirect3DSwapChain9_GetPresentParameters(p,a)	(p)->GetPresentParameters(a)#endif#undef INTERFACE#define INTERFACE IDirect3DResource9DECLARE_INTERFACE_(IDirect3DResource9,IUnknown)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -