4 #include <unordered_map> 26 IDirect3DDevice9 *m_pD3Ddev;
35 std::unordered_map<IDirect3DVertexShader9*, IDirect3DVertexShader9*>
stereoVS;
36 std::unordered_map<IDirect3DVertexShader9*, float>
enabled;
57 D3DFORMAT DepthFormat,
58 D3DFORMAT AdapterFormat,
59 D3DFORMAT BackBufferFormat);
64 HRESULT APIENTRY
CreateStereoVertexShader(LPDIRECT3DDEVICE9 pD3Ddev, CONST DWORD* pFunction, IDirect3DVertexShader9** ppShader);
65 HRESULT APIENTRY
CreateModifiedPixelShader(LPDIRECT3DDEVICE9 pD3Ddev, CONST DWORD* pFunction, IDirect3DPixelShader9** ppShader);
75 HRESULT APIENTRY
VS_replaceOR_V11(
char** ppIn,
int* pcountOR,
char* pOR,
char** ppOut);
76 HRESULT APIENTRY
VS_replaceOR_V20(
char** ppIn,
int* pcountOR,
char* pOR,
char** ppOut);
77 HRESULT APIENTRY
VS_replaceOR_V30(
char** ppIn,
int* pcountOR,
char* pOR,
char** ppOut);
79 HRESULT APIENTRY
VS_addcode_common(
char** ppIn,
int cond,
char* pFindOR,
char** ppOut,
char* strSource,
char* strSource2,
char* strSource3);
107 typedef ULONG(WINAPI *
tAddRef)(LPDIRECT3DDEVICE9);
111 typedef ULONG(WINAPI *
tRelease)(LPDIRECT3DDEVICE9);
127 typedef HRESULT(WINAPI *
tGetDirect3D)(LPDIRECT3DDEVICE9, IDirect3D9**);
159 typedef HRESULT(WINAPI *
tGetSwapChain)(LPDIRECT3DDEVICE9, UINT, IDirect3DSwapChain9**);
167 typedef HRESULT(WINAPI *
tReset)(LPDIRECT3DDEVICE9, D3DPRESENT_PARAMETERS*);
171 typedef HRESULT(WINAPI *
tPresent)(LPDIRECT3DDEVICE9, CONST RECT*, CONST RECT*, HWND, CONST RGNDATA*);
173 HRESULT APIENTRY
hkIDirect3DDevice9_Present(LPDIRECT3DDEVICE9, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion);
175 typedef HRESULT(WINAPI *
tGetBackBuffer)(LPDIRECT3DDEVICE9, UINT, UINT, D3DBACKBUFFER_TYPE, IDirect3DSurface9**);
177 HRESULT APIENTRY
hkIDirect3DDevice9_GetBackBuffer(LPDIRECT3DDEVICE9, UINT iSwapChain, UINT iBackBuffer, D3DBACKBUFFER_TYPE Type, IDirect3DSurface9** ppBackBuffer);
187 typedef void(WINAPI *
tSetGammaRamp)(LPDIRECT3DDEVICE9, UINT, DWORD, CONST D3DGAMMARAMP*);
191 typedef void(WINAPI *
tGetGammaRamp)(LPDIRECT3DDEVICE9, UINT, D3DGAMMARAMP*);
195 typedef HRESULT(WINAPI *
tCreateTexture)(LPDIRECT3DDEVICE9, UINT, UINT, UINT, DWORD, D3DFORMAT, D3DPOOL, IDirect3DTexture9**, HANDLE*);
197 HRESULT APIENTRY
hkIDirect3DDevice9_CreateTexture(LPDIRECT3DDEVICE9, UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture9** ppTexture, HANDLE* pSharedHandle);
199 typedef HRESULT(WINAPI *
tCreateVolumeTexture)(LPDIRECT3DDEVICE9, UINT, UINT, UINT, UINT, DWORD, D3DFORMAT, D3DPOOL, IDirect3DVolumeTexture9**, HANDLE*);
201 HRESULT APIENTRY
hkIDirect3DDevice9_CreateVolumeTexture(LPDIRECT3DDEVICE9, UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DVolumeTexture9** ppVolumeTexture, HANDLE* pSharedHandle);
203 typedef HRESULT(WINAPI *
tCreateCubeTexture)(LPDIRECT3DDEVICE9, UINT, UINT, DWORD, D3DFORMAT, D3DPOOL, IDirect3DCubeTexture9**, HANDLE*);
205 HRESULT APIENTRY
hkIDirect3DDevice9_CreateCubeTexture(LPDIRECT3DDEVICE9, UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DCubeTexture9** ppCubeTexture, HANDLE* pSharedHandle);
207 typedef HRESULT(WINAPI *
tCreateVertexBuffer)(LPDIRECT3DDEVICE9, UINT, DWORD, DWORD, D3DPOOL, IDirect3DVertexBuffer9**, HANDLE*);
209 HRESULT APIENTRY
hkIDirect3DDevice9_CreateVertexBuffer(LPDIRECT3DDEVICE9, UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer9** ppVertexBuffer, HANDLE* pSharedHandle);
211 typedef HRESULT(WINAPI *
tCreateIndexBuffer)(LPDIRECT3DDEVICE9, UINT, DWORD, D3DFORMAT, D3DPOOL, IDirect3DIndexBuffer9**, HANDLE*);
213 HRESULT APIENTRY
hkIDirect3DDevice9_CreateIndexBuffer(LPDIRECT3DDEVICE9, UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer9** ppIndexBuffer, HANDLE* pSharedHandle);
215 typedef HRESULT(WINAPI *
tCreateRenderTarget)(LPDIRECT3DDEVICE9, UINT, UINT, D3DFORMAT, D3DMULTISAMPLE_TYPE, DWORD, BOOL, IDirect3DSurface9**, HANDLE*);
217 HRESULT APIENTRY
hkIDirect3DDevice9_CreateRenderTarget(LPDIRECT3DDEVICE9, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Lockable, IDirect3DSurface9** ppSurface, HANDLE* pSharedHandle);
219 typedef HRESULT(WINAPI *
tCreateDepthStencilSurface)(LPDIRECT3DDEVICE9, UINT, UINT, D3DFORMAT, D3DMULTISAMPLE_TYPE, DWORD, BOOL, IDirect3DSurface9**, HANDLE*);
221 HRESULT APIENTRY
hkIDirect3DDevice9_CreateDepthStencilSurface(LPDIRECT3DDEVICE9, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Discard, IDirect3DSurface9** ppSurface, HANDLE* pSharedHandle);
223 typedef HRESULT(WINAPI *
tUpdateSurface)(LPDIRECT3DDEVICE9, IDirect3DSurface9*, CONST RECT*, IDirect3DSurface9*, CONST POINT*);
225 HRESULT APIENTRY
hkIDirect3DDevice9_UpdateSurface(LPDIRECT3DDEVICE9, IDirect3DSurface9* pSourceSurface, CONST RECT* pSourceRect, IDirect3DSurface9* pDestinationSurface, CONST POINT* pDestPoint);
227 typedef HRESULT(WINAPI *
tUpdateTexture)(LPDIRECT3DDEVICE9, IDirect3DBaseTexture9*, IDirect3DBaseTexture9*);
239 typedef HRESULT(WINAPI *
tStretchRect)(LPDIRECT3DDEVICE9, IDirect3DSurface9*, CONST RECT*, IDirect3DSurface9*, CONST RECT*, D3DTEXTUREFILTERTYPE);
241 HRESULT APIENTRY
hkIDirect3DDevice9_StretchRect(LPDIRECT3DDEVICE9, IDirect3DSurface9* pSourceSurface, CONST RECT* pSourceRect, IDirect3DSurface9* pDestSurface, CONST RECT* pDestRect, D3DTEXTUREFILTERTYPE Filter);
243 typedef HRESULT(WINAPI *
tColorFill)(LPDIRECT3DDEVICE9, IDirect3DSurface9*, CONST RECT*, D3DCOLOR);
275 typedef HRESULT(WINAPI *
tClear)(LPDIRECT3DDEVICE9, DWORD, CONST D3DRECT*, DWORD, D3DCOLOR, float, DWORD);
277 HRESULT APIENTRY
hkIDirect3DDevice9_Clear(LPDIRECT3DDEVICE9, DWORD Count, CONST D3DRECT *pRects, DWORD Flags, D3DCOLOR Color,
float Z, DWORD Stencil);
279 typedef HRESULT(WINAPI *
tSetTransform)(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE, CONST D3DMATRIX*);
283 typedef HRESULT(WINAPI *
tGetTransform)(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE, D3DMATRIX*);
287 typedef HRESULT(WINAPI *
tMultiplyTransform)(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE, CONST D3DMATRIX*);
291 typedef HRESULT(WINAPI *
tSetViewport)(LPDIRECT3DDEVICE9, CONST D3DVIEWPORT9*);
295 typedef HRESULT(WINAPI *
tGetViewport)(LPDIRECT3DDEVICE9, D3DVIEWPORT9*);
299 typedef HRESULT(WINAPI *
tSetMaterial)(LPDIRECT3DDEVICE9, CONST D3DMATERIAL9*);
303 typedef HRESULT(WINAPI *
tGetMaterial)(LPDIRECT3DDEVICE9, D3DMATERIAL9*);
307 typedef HRESULT(WINAPI *
tSetLight)(LPDIRECT3DDEVICE9, DWORD, CONST D3DLIGHT9*);
311 typedef HRESULT(WINAPI *
tGetLight)(LPDIRECT3DDEVICE9, DWORD, D3DLIGHT9*);
315 typedef HRESULT(WINAPI *
tLightEnable)(LPDIRECT3DDEVICE9, DWORD, BOOL);
323 typedef HRESULT(WINAPI *
tSetClipPlane)(LPDIRECT3DDEVICE9, DWORD, CONST
float*);
331 typedef HRESULT(WINAPI *
tSetRenderState)(LPDIRECT3DDEVICE9, D3DRENDERSTATETYPE, DWORD);
335 typedef HRESULT(WINAPI *
tGetRenderState)(LPDIRECT3DDEVICE9, D3DRENDERSTATETYPE, DWORD*);
339 typedef HRESULT(WINAPI *
tCreateStateBlock)(LPDIRECT3DDEVICE9, D3DSTATEBLOCKTYPE, IDirect3DStateBlock9**);
347 typedef HRESULT(WINAPI *
tEndStateBlock)(LPDIRECT3DDEVICE9, IDirect3DStateBlock9**);
351 typedef HRESULT(WINAPI *
tSetClipStatus)(LPDIRECT3DDEVICE9, CONST D3DCLIPSTATUS9*);
359 typedef HRESULT(WINAPI *
tGetTexture)(LPDIRECT3DDEVICE9, DWORD, IDirect3DBaseTexture9**);
363 typedef HRESULT(WINAPI *
tSetTexture)(LPDIRECT3DDEVICE9, DWORD, IDirect3DBaseTexture9*);
375 typedef HRESULT(WINAPI *
tGetSamplerState)(LPDIRECT3DDEVICE9, DWORD, D3DSAMPLERSTATETYPE, DWORD*);
379 typedef HRESULT(WINAPI *
tSetSamplerState)(LPDIRECT3DDEVICE9, DWORD, D3DSAMPLERSTATETYPE, DWORD);
427 typedef HRESULT(WINAPI *
tDrawPrimitive)(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, UINT, UINT);
433 HRESULT APIENTRY
hkIDirect3DDevice9_DrawIndexedPrimitive(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount);
435 typedef HRESULT(WINAPI *
tDrawPrimitiveUP)(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, UINT, CONST
void*, UINT);
437 HRESULT APIENTRY
hkIDirect3DDevice9_DrawPrimitiveUP(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE PrimitiveType, UINT PrimitiveCount, CONST
void *pVertexStreamZeroData, UINT VertexStreamZeroStride);
439 typedef HRESULT(WINAPI *
tDrawIndexedPrimitiveUP)(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, UINT, UINT, UINT, CONST
void*, D3DFORMAT, CONST
void*, UINT);
441 HRESULT APIENTRY
hkIDirect3DDevice9_DrawIndexedPrimitiveUP(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE PrimitiveType, UINT MinIndex, UINT NumVertices, UINT PrimitiveCount, CONST
void *pIndexData, D3DFORMAT IndexDataFormat, CONST
void *pVertexStreamZeroData, UINT VertexStreamZeroStride);
443 typedef HRESULT(WINAPI *
tProcessVertices)(LPDIRECT3DDEVICE9, UINT, UINT, UINT, IDirect3DVertexBuffer9*, IDirect3DVertexDeclaration9*, DWORD);
445 HRESULT APIENTRY
hkIDirect3DDevice9_ProcessVertices(LPDIRECT3DDEVICE9, UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer9* pDestBuffer, IDirect3DVertexDeclaration9* pVertexDecl, DWORD Flags);
459 typedef HRESULT(WINAPI *
tSetFVF)(LPDIRECT3DDEVICE9, DWORD);
463 typedef HRESULT(WINAPI *
tGetFVF)(LPDIRECT3DDEVICE9, DWORD*);
503 typedef HRESULT(WINAPI *
tSetStreamSource)(LPDIRECT3DDEVICE9, UINT, IDirect3DVertexBuffer9*, UINT, UINT);
507 typedef HRESULT(WINAPI *
tGetStreamSource)(LPDIRECT3DDEVICE9, UINT, IDirect3DVertexBuffer9**, UINT*, UINT*);
519 typedef HRESULT(WINAPI *
tSetIndices)(LPDIRECT3DDEVICE9, IDirect3DIndexBuffer9*);
523 typedef HRESULT(WINAPI *
tGetIndices)(LPDIRECT3DDEVICE9, IDirect3DIndexBuffer9**);
527 typedef HRESULT(WINAPI *
tCreatePixelShader)(LPDIRECT3DDEVICE9, CONST DWORD*, IDirect3DPixelShader9**);
535 typedef HRESULT(WINAPI *
tGetPixelShader)(LPDIRECT3DDEVICE9, IDirect3DPixelShader9**);
563 typedef HRESULT(WINAPI *
tDrawRectPatch)(LPDIRECT3DDEVICE9, UINT, CONST
float*, CONST D3DRECTPATCH_INFO*);
567 typedef HRESULT(WINAPI *
tDrawTriPatch)(LPDIRECT3DDEVICE9, UINT, CONST
float*, CONST D3DTRIPATCH_INFO*);
575 typedef HRESULT(WINAPI *
tCreateQuery)(LPDIRECT3DDEVICE9, D3DQUERYTYPE, IDirect3DQuery9**);
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexShaderConstantF(LPDIRECT3DDEVICE9, UINT StartRegister, CONST float *pConstantData, UINT Vector4fCount)
Definition: d3d9dev.cpp:1254
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexDeclaration(LPDIRECT3DDEVICE9, IDirect3DVertexDeclaration9 *pDecl)
Definition: d3d9dev.cpp:1182
ULONG(WINAPI * tRelease)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:111
CD3DManager(IDirect3DDevice9 *pD3Ddev)
Definition: d3d9dev.h:14
HRESULT(WINAPI * tSetSamplerState)(LPDIRECT3DDEVICE9, DWORD, D3DSAMPLERSTATETYPE, DWORD)
Definition: d3d9dev.h:379
HRESULT APIENTRY hkIDirect3DDevice9_SetTextureStageState(LPDIRECT3DDEVICE9, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD Value)
Definition: d3d9dev.cpp:1025
tStretchRect oStretchRect
Definition: main.cpp:51
HRESULT APIENTRY hkIDirect3DDevice9_Reset(LPDIRECT3DDEVICE9, D3DPRESENT_PARAMETERS *pPresentationParameters)
Definition: d3d9dev.cpp:415
HRESULT APIENTRY hkIDirect3DDevice9_UpdateTexture(LPDIRECT3DDEVICE9, IDirect3DBaseTexture9 *pSourceTexture, IDirect3DBaseTexture9 *pDestinationTexture)
Definition: d3d9dev.cpp:551
HRESULT(WINAPI * tSetTextureStageState)(LPDIRECT3DDEVICE9, DWORD, D3DTEXTURESTAGESTATETYPE, DWORD)
Definition: d3d9dev.h:371
tCreateOffscreenPlainSurface oCreateOffscreenPlainSurface
Definition: main.cpp:53
HRESULT APIENTRY hkIDirect3DDevice9_GetLight(LPDIRECT3DDEVICE9, DWORD Index, D3DLIGHT9 *pLight)
Definition: d3d9dev.cpp:920
HRESULT APIENTRY VS_addcode_ORe1_VS20_LS0(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:2906
HRESULT APIENTRY hkIDirect3DDevice9_GetPixelShaderConstantB(LPDIRECT3DDEVICE9, UINT StartRegister, BOOL *pConstantData, UINT BoolCount)
Definition: d3d9dev.cpp:1422
HRESULT(WINAPI * tGetVertexDeclaration)(LPDIRECT3DDEVICE9, IDirect3DVertexDeclaration9 **)
Definition: d3d9dev.h:455
HRESULT APIENTRY hkIDirect3DDevice9_SetTransform(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX *pMatrix)
Definition: d3d9dev.cpp:864
HRESULT APIENTRY hkIDirect3DDevice9_GetTexture(LPDIRECT3DDEVICE9, DWORD Stage, IDirect3DBaseTexture9 **ppTexture)
Definition: d3d9dev.cpp:1004
HRESULT(WINAPI * tCreateVertexDeclaration)(LPDIRECT3DDEVICE9, CONST D3DVERTEXELEMENT9 *, IDirect3DVertexDeclaration9 **)
Definition: d3d9dev.h:447
tSetPaletteEntries oSetPaletteEntries
Definition: main.cpp:88
HRESULT PreReset()
Definition: d3d9dev.cpp:162
tGetStreamSource oGetStreamSource
Definition: main.cpp:118
HRESULT APIENTRY hkIDirect3DDevice9_SetRenderState(LPDIRECT3DDEVICE9, D3DRENDERSTATETYPE State, DWORD Value)
Definition: d3d9dev.cpp:955
tCreateVertexShader oCreateVertexShader
Definition: main.cpp:108
tEndStateBlock oEndStateBlock
Definition: main.cpp:78
HRESULT(WINAPI * tCreateTexture)(LPDIRECT3DDEVICE9, UINT, UINT, UINT, DWORD, D3DFORMAT, D3DPOOL, IDirect3DTexture9 **, HANDLE *)
Definition: d3d9dev.h:195
HRESULT Initialize()
Definition: d3d9dev.cpp:89
tGetTexture oGetTexture
Definition: main.cpp:81
void(WINAPI * tGetGammaRamp)(LPDIRECT3DDEVICE9, UINT, D3DGAMMARAMP *)
Definition: d3d9dev.h:191
unsigned int APIENTRY hkIDirect3DDevice9_GetNumberOfSwapChains(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:408
HRESULT(WINAPI * tDrawIndexedPrimitive)(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, INT, UINT, UINT, UINT, UINT)
Definition: d3d9dev.h:431
tDrawIndexedPrimitive oDrawIndexedPrimitive
Definition: main.cpp:99
HRESULT(WINAPI * tMultiplyTransform)(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE, CONST D3DMATRIX *)
Definition: d3d9dev.h:287
HRESULT(WINAPI * tGetCreationParameters)(LPDIRECT3DDEVICE9, D3DDEVICE_CREATION_PARAMETERS *)
Definition: d3d9dev.h:139
HRESULT APIENTRY hkIDirect3DDevice9_SetCursorProperties(LPDIRECT3DDEVICE9, UINT XHotSpot, UINT YHotSpot, IDirect3DSurface9 *pCursorBitmap)
Definition: d3d9dev.cpp:373
HRESULT APIENTRY hkIDirect3DDevice9_GetDepthStencilSurface(LPDIRECT3DDEVICE9, IDirect3DSurface9 **ppZStencilSurface)
Definition: d3d9dev.cpp:694
HRESULT APIENTRY hkIDirect3DDevice9_DrawPrimitiveUP(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE PrimitiveType, UINT PrimitiveCount, CONST void *pVertexStreamZeroData, UINT VertexStreamZeroStride)
Definition: d3d9dev.cpp:1149
tGetCurrentTexturePalette oGetCurrentTexturePalette
Definition: main.cpp:91
tSetPixelShader oSetPixelShader
Definition: main.cpp:124
HRESULT(WINAPI * tGetPixelShaderConstantI)(LPDIRECT3DDEVICE9, UINT, int *, UINT)
Definition: d3d9dev.h:551
HRESULT(WINAPI * tGetDepthStencilSurface)(LPDIRECT3DDEVICE9, IDirect3DSurface9 **)
Definition: d3d9dev.h:263
HRESULT APIENTRY hkIDirect3DDevice9_SetCurrentTexturePalette(LPDIRECT3DDEVICE9, UINT PaletteNumber)
Definition: d3d9dev.cpp:1067
HRESULT APIENTRY hkIDirect3DDevice9_CreateCubeTexture(LPDIRECT3DDEVICE9, UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DCubeTexture9 **ppCubeTexture, HANDLE *pSharedHandle)
Definition: d3d9dev.cpp:509
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexShader(LPDIRECT3DDEVICE9, IDirect3DVertexShader9 *pShader)
Definition: d3d9dev.cpp:1218
void(WINAPI * tSetGammaRamp)(LPDIRECT3DDEVICE9, UINT, DWORD, CONST D3DGAMMARAMP *)
Definition: d3d9dev.h:187
HRESULT(WINAPI * tGetVertexShaderConstantI)(LPDIRECT3DDEVICE9, UINT, int *, UINT)
Definition: d3d9dev.h:491
void(WINAPI * tSetCursorPosition)(LPDIRECT3DDEVICE9, int, int, DWORD)
Definition: d3d9dev.h:147
HRESULT APIENTRY hkIDirect3DDevice9_SetLight(LPDIRECT3DDEVICE9, DWORD Index, CONST D3DLIGHT9 *pLight)
Definition: d3d9dev.cpp:913
tSetScissorRect oSetScissorRect
Definition: main.cpp:92
tDrawPrimitiveUP oDrawPrimitiveUP
Definition: main.cpp:100
HRESULT(WINAPI * tGetFrontBufferData)(LPDIRECT3DDEVICE9, UINT, IDirect3DSurface9 *)
Definition: d3d9dev.h:235
HRESULT(WINAPI * tGetPixelShaderConstantB)(LPDIRECT3DDEVICE9, UINT, BOOL *, UINT)
Definition: d3d9dev.h:559
HRESULT(WINAPI * tGetScissorRect)(LPDIRECT3DDEVICE9, RECT *)
Definition: d3d9dev.h:407
HRESULT APIENTRY hkIDirect3DDevice9_DrawIndexedPrimitiveUP(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE PrimitiveType, UINT MinIndex, UINT NumVertices, UINT PrimitiveCount, CONST void *pIndexData, D3DFORMAT IndexDataFormat, CONST void *pVertexStreamZeroData, UINT VertexStreamZeroStride)
Definition: d3d9dev.cpp:1158
HRESULT APIENTRY hkIDirect3DDevice9_SetDepthStencilSurface(LPDIRECT3DDEVICE9, IDirect3DSurface9 *pNewZStencil)
Definition: d3d9dev.cpp:662
HRESULT(WINAPI * tEvictManagedResources)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:123
HRESULT(WINAPI * tGetRenderState)(LPDIRECT3DDEVICE9, D3DRENDERSTATETYPE, DWORD *)
Definition: d3d9dev.h:335
tCreatePixelShader oCreatePixelShader
Definition: main.cpp:123
HRESULT(WINAPI * tBeginStateBlock)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:343
HRESULT APIENTRY hkIDirect3DDevice9_DeletePatch(LPDIRECT3DDEVICE9, UINT Handle)
Definition: d3d9dev.cpp:1443
HRESULT APIENTRY hkIDirect3DDevice9_EndStateBlock(LPDIRECT3DDEVICE9, IDirect3DStateBlock9 **ppSB)
Definition: d3d9dev.cpp:983
HRESULT(WINAPI * tCreateOffscreenPlainSurface)(LPDIRECT3DDEVICE9, UINT, UINT, D3DFORMAT, D3DPOOL, IDirect3DSurface9 **, HANDLE *)
Definition: d3d9dev.h:247
HRESULT(WINAPI * tSetLight)(LPDIRECT3DDEVICE9, DWORD, CONST D3DLIGHT9 *)
Definition: d3d9dev.h:307
void increaseSeparation()
Definition: d3d9dev.cpp:1631
HRESULT APIENTRY hkIDirect3DDevice9_GetTransform(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE State, D3DMATRIX *pMatrix)
Definition: d3d9dev.cpp:871
HRESULT APIENTRY hkIDirect3DDevice9_SetRenderTarget(LPDIRECT3DDEVICE9, DWORD RenderTargetIndex, IDirect3DSurface9 *pRenderTarget)
Definition: d3d9dev.cpp:593
~settingsVS()
Definition: d3d9dev.h:33
HRESULT APIENTRY hkIDirect3DDevice9_BeginStateBlock(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:976
tClear oClear
Definition: main.cpp:60
HRESULT APIENTRY VS_appendDef_V20_LS0(char **ppOut)
Definition: d3d9dev.cpp:2143
tGetSamplerState oGetSamplerState
Definition: main.cpp:85
tMultiplyTransform oMultiplyTransform
Definition: main.cpp:63
HRESULT(WINAPI * tSetFVF)(LPDIRECT3DDEVICE9, DWORD)
Definition: d3d9dev.h:459
tBeginStateBlock oBeginStateBlock
Definition: main.cpp:77
tSetCursorPosition oSetCursorPosition
Definition: main.cpp:28
tColorFill oColorFill
Definition: main.cpp:52
tSetSamplerState oSetSamplerState
Definition: main.cpp:86
HRESULT(WINAPI * tCreateIndexBuffer)(LPDIRECT3DDEVICE9, UINT, DWORD, D3DFORMAT, D3DPOOL, IDirect3DIndexBuffer9 **, HANDLE *)
Definition: d3d9dev.h:211
HRESULT(WINAPI * tGetTexture)(LPDIRECT3DDEVICE9, DWORD, IDirect3DBaseTexture9 **)
Definition: d3d9dev.h:359
HRESULT(WINAPI * tSetTransform)(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE, CONST D3DMATRIX *)
Definition: d3d9dev.h:279
HRESULT(WINAPI * tSetClipStatus)(LPDIRECT3DDEVICE9, CONST D3DCLIPSTATUS9 *)
Definition: d3d9dev.h:351
tGetTextureStageState oGetTextureStageState
Definition: main.cpp:83
tSetSoftwareVertexProcessing oSetSoftwareVertexProcessing
Definition: main.cpp:94
HRESULT APIENTRY hkIDirect3DDevice9_ValidateDevice(LPDIRECT3DDEVICE9, DWORD *pNumPasses)
Definition: d3d9dev.cpp:1046
HRESULT(WINAPI * tBeginScene)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:267
tCreateVolumeTexture oCreateVolumeTexture
Definition: main.cpp:41
HRESULT(WINAPI * tGetTransform)(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE, D3DMATRIX *)
Definition: d3d9dev.h:283
HRESULT APIENTRY hkIDirect3DDevice9_GetFVF(LPDIRECT3DDEVICE9, DWORD *pFVF)
Definition: d3d9dev.cpp:1203
tGetClipPlane oGetClipPlane
Definition: main.cpp:73
HRESULT(WINAPI * tSetNPatchMode)(LPDIRECT3DDEVICE9, float)
Definition: d3d9dev.h:419
HRESULT hkIDirect3DDevice9_takeScreenshot(LPDIRECT3DDEVICE9 pD3Ddev)
Definition: d3d9dev.cpp:1477
HRESULT APIENTRY VS_appendDef_V11_LS1(char **ppOut)
Definition: d3d9dev.cpp:2123
HRESULT(WINAPI * tDrawRectPatch)(LPDIRECT3DDEVICE9, UINT, CONST float *, CONST D3DRECTPATCH_INFO *)
Definition: d3d9dev.h:563
HRESULT(WINAPI * tQueryInterface)(LPDIRECT3DDEVICE9, REFIID, void **)
Definition: d3d9dev.h:103
void readIni(void)
Definition: d3d9dev.cpp:1460
HRESULT APIENTRY hkIDirect3DDevice9_GetRenderState(LPDIRECT3DDEVICE9, D3DRENDERSTATETYPE State, DWORD *pValue)
Definition: d3d9dev.cpp:962
tGetVertexShaderConstantB oGetVertexShaderConstantB
Definition: main.cpp:116
tGetVertexShaderConstantF oGetVertexShaderConstantF
Definition: main.cpp:112
tGetPaletteEntries oGetPaletteEntries
Definition: main.cpp:89
HRESULT APIENTRY hkIDirect3DDevice9_SetIndices(LPDIRECT3DDEVICE9, IDirect3DIndexBuffer9 *pIndexData)
Definition: d3d9dev.cpp:1324
HRESULT APIENTRY hkIDirect3DDevice9_SetPixelShaderConstantF(LPDIRECT3DDEVICE9, UINT StartRegister, CONST float *pConstantData, UINT Vector4fCount)
Definition: d3d9dev.cpp:1387
tSetTextureStageState oSetTextureStageState
Definition: main.cpp:84
HRESULT(WINAPI * tSetClipPlane)(LPDIRECT3DDEVICE9, DWORD, CONST float *)
Definition: d3d9dev.h:323
HRESULT(WINAPI * tSetVertexShader)(LPDIRECT3DDEVICE9, IDirect3DVertexShader9 *)
Definition: d3d9dev.h:471
HRESULT APIENTRY VS_addcode_ORgt1_VS20_LS1(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3824
tDrawPrimitive oDrawPrimitive
Definition: main.cpp:98
tSetViewport oSetViewport
Definition: main.cpp:64
HRESULT(WINAPI * tCreateCubeTexture)(LPDIRECT3DDEVICE9, UINT, UINT, DWORD, D3DFORMAT, D3DPOOL, IDirect3DCubeTexture9 **, HANDLE *)
Definition: d3d9dev.h:203
tGetIndices oGetIndices
Definition: main.cpp:122
HRESULT APIENTRY hkIDirect3DDevice9_SetViewport(LPDIRECT3DDEVICE9, CONST D3DVIEWPORT9 *pViewport)
Definition: d3d9dev.cpp:885
HRESULT(WINAPI * tSetPixelShader)(LPDIRECT3DDEVICE9, IDirect3DPixelShader9 *)
Definition: d3d9dev.h:531
tGetDeviceCaps oGetDeviceCaps
Definition: main.cpp:24
HRESULT APIENTRY hkIDirect3DDevice9_CreatePixelShader(LPDIRECT3DDEVICE9, CONST DWORD *pFunction, IDirect3DPixelShader9 **ppShader)
Definition: d3d9dev.cpp:1338
tGetVertexShader oGetVertexShader
Definition: main.cpp:110
void APIENTRY hkIDirect3DDevice9_SetGammaRamp(LPDIRECT3DDEVICE9, UINT iSwapChain, DWORD Flags, CONST D3DGAMMARAMP *pRamp)
Definition: d3d9dev.cpp:481
tSetCursorProperties oSetCursorProperties
Definition: main.cpp:27
tGetDepthStencilSurface oGetDepthStencilSurface
Definition: main.cpp:57
HRESULT(WINAPI * tClear)(LPDIRECT3DDEVICE9, DWORD, CONST D3DRECT *, DWORD, D3DCOLOR, float, DWORD)
Definition: d3d9dev.h:275
HRESULT APIENTRY hkIDirect3DDevice9_EndScene(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:760
tGetRasterStatus oGetRasterStatus
Definition: main.cpp:36
HRESULT APIENTRY hkIDirect3DDevice9_GetLightEnable(LPDIRECT3DDEVICE9, DWORD Index, BOOL *pEnable)
Definition: d3d9dev.cpp:934
tSetRenderTarget oSetRenderTarget
Definition: main.cpp:54
HRESULT APIENTRY hkIDirect3DDevice9_CreateVertexShader(LPDIRECT3DDEVICE9, CONST DWORD *pFunction, IDirect3DVertexShader9 **ppShader)
Definition: d3d9dev.cpp:1210
HRESULT(WINAPI * tSetPixelShaderConstantB)(LPDIRECT3DDEVICE9, UINT, CONST BOOL *, UINT)
Definition: d3d9dev.h:555
HRESULT APIENTRY hkIDirect3DDevice9_DrawTriPatch(LPDIRECT3DDEVICE9, UINT Handle, CONST float *pNumSegs, CONST D3DTRIPATCH_INFO *pTriPatchInfo)
Definition: d3d9dev.cpp:1436
ULONG APIENTRY hkIDirect3DDevice9_Release(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:314
HRESULT APIENTRY CreateStereoVertexShader(LPDIRECT3DDEVICE9 pD3Ddev, CONST DWORD *pFunction, IDirect3DVertexShader9 **ppShader)
Definition: d3d9dev.cpp:1816
HRESULT(WINAPI * tTestCooperativeLevel)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:115
HRESULT(WINAPI * tSetVertexShaderConstantB)(LPDIRECT3DDEVICE9, UINT, CONST BOOL *, UINT)
Definition: d3d9dev.h:495
tSetNPatchMode oSetNPatchMode
Definition: main.cpp:96
HRESULT APIENTRY hkIDirect3DDevice9_SetNPatchMode(LPDIRECT3DDEVICE9, float nSegments)
Definition: d3d9dev.cpp:1109
HRESULT APIENTRY VS_addcode_ORgt1_VS20_LS0(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3782
HRESULT(WINAPI * tCreateVertexShader)(LPDIRECT3DDEVICE9, CONST DWORD *, IDirect3DVertexShader9 **)
Definition: d3d9dev.h:467
HRESULT APIENTRY hkIDirect3DDevice9_SetPaletteEntries(LPDIRECT3DDEVICE9, UINT PaletteNumber, CONST PALETTEENTRY *pEntries)
Definition: d3d9dev.cpp:1053
HRESULT APIENTRY hkIDirect3DDevice9_SetClipPlane(LPDIRECT3DDEVICE9, DWORD Index, CONST float *pPlane)
Definition: d3d9dev.cpp:941
tRelease oRelease
Definition: main.cpp:19
HRESULT(WINAPI * tLightEnable)(LPDIRECT3DDEVICE9, DWORD, BOOL)
Definition: d3d9dev.h:315
tSetTransform oSetTransform
Definition: main.cpp:61
tGetVertexShaderConstantI oGetVertexShaderConstantI
Definition: main.cpp:114
HRESULT(WINAPI * tCreateStateBlock)(LPDIRECT3DDEVICE9, D3DSTATEBLOCKTYPE, IDirect3DStateBlock9 **)
Definition: d3d9dev.h:339
tShowCursor oShowCursor
Definition: main.cpp:29
HRESULT APIENTRY VS_replaceOR_V30(char **ppIn, int *pcountOR, char *pOR, char **ppOut)
Definition: d3d9dev.cpp:2322
tCreateQuery oCreateQuery
Definition: main.cpp:135
enum _MOVE_DIRECTION MOVE_DIRECTION
tSetVertexDeclaration oSetVertexDeclaration
Definition: main.cpp:104
HRESULT APIENTRY hkIDirect3DDevice9_SetSoftwareVertexProcessing(LPDIRECT3DDEVICE9, BOOL bSoftware)
Definition: d3d9dev.cpp:1095
HRESULT(WINAPI * tPresent)(LPDIRECT3DDEVICE9, CONST RECT *, CONST RECT *, HWND, CONST RGNDATA *)
Definition: d3d9dev.h:171
HRESULT APIENTRY VS_replaceOR_V20(char **ppIn, int *pcountOR, char *pOR, char **ppOut)
Definition: d3d9dev.cpp:2271
HRESULT(WINAPI * tCreateVertexBuffer)(LPDIRECT3DDEVICE9, UINT, DWORD, DWORD, D3DPOOL, IDirect3DVertexBuffer9 **, HANDLE *)
Definition: d3d9dev.h:207
BOOL IsDepthFormatOk(IDirect3D9 *pD3D9, D3DFORMAT DepthFormat, D3DFORMAT AdapterFormat, D3DFORMAT BackBufferFormat)
Definition: d3d9dev.cpp:1658
HRESULT(WINAPI * tSetRenderTarget)(LPDIRECT3DDEVICE9, DWORD, IDirect3DSurface9 *)
Definition: d3d9dev.h:251
tSetMaterial oSetMaterial
Definition: main.cpp:66
float(WINAPI * tGetNPatchMode)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:423
HRESULT(WINAPI * tUpdateTexture)(LPDIRECT3DDEVICE9, IDirect3DBaseTexture9 *, IDirect3DBaseTexture9 *)
Definition: d3d9dev.h:227
HRESULT(WINAPI * tDrawIndexedPrimitiveUP)(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, UINT, UINT, UINT, CONST void *, D3DFORMAT, CONST void *, UINT)
Definition: d3d9dev.h:439
HRESULT(WINAPI * tGetTextureStageState)(LPDIRECT3DDEVICE9, DWORD, D3DTEXTURESTAGESTATETYPE, DWORD *)
Definition: d3d9dev.h:367
tCreateRenderTarget oCreateRenderTarget
Definition: main.cpp:45
tGetGammaRamp oGetGammaRamp
Definition: main.cpp:39
tGetRenderState oGetRenderState
Definition: main.cpp:75
HRESULT(WINAPI * tGetLightEnable)(LPDIRECT3DDEVICE9, DWORD, BOOL *)
Definition: d3d9dev.h:319
HRESULT APIENTRY hkIDirect3DDevice9_GetPixelShader(LPDIRECT3DDEVICE9, IDirect3DPixelShader9 **ppShader)
Definition: d3d9dev.cpp:1380
tSetFVF oSetFVF
Definition: main.cpp:106
tSetVertexShaderConstantF oSetVertexShaderConstantF
Definition: main.cpp:111
HRESULT APIENTRY hkIDirect3DDevice9_SetScissorRect(LPDIRECT3DDEVICE9, CONST RECT *pRect)
Definition: d3d9dev.cpp:1081
tGetSwapChain oGetSwapChain
Definition: main.cpp:31
tCreateVertexDeclaration oCreateVertexDeclaration
Definition: main.cpp:103
tLightEnable oLightEnable
Definition: main.cpp:70
tGetFVF oGetFVF
Definition: main.cpp:107
HRESULT(WINAPI * tSetStreamSourceFreq)(LPDIRECT3DDEVICE9, UINT, UINT)
Definition: d3d9dev.h:511
HRESULT APIENTRY hkIDirect3DDevice9_CreateAdditionalSwapChain(LPDIRECT3DDEVICE9, D3DPRESENT_PARAMETERS *pPresentationParameters, IDirect3DSwapChain9 **ppSwapChain)
Definition: d3d9dev.cpp:394
tGetLightEnable oGetLightEnable
Definition: main.cpp:71
HRESULT(WINAPI * tCreateVolumeTexture)(LPDIRECT3DDEVICE9, UINT, UINT, UINT, UINT, DWORD, D3DFORMAT, D3DPOOL, IDirect3DVolumeTexture9 **, HANDLE *)
Definition: d3d9dev.h:199
tSetPixelShaderConstantI oSetPixelShaderConstantI
Definition: main.cpp:128
HRESULT(WINAPI * tSetRenderState)(LPDIRECT3DDEVICE9, D3DRENDERSTATETYPE, DWORD)
Definition: d3d9dev.h:331
HRESULT APIENTRY hkIDirect3DDevice9_ProcessVertices(LPDIRECT3DDEVICE9, UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer9 *pDestBuffer, IDirect3DVertexDeclaration9 *pVertexDecl, DWORD Flags)
Definition: d3d9dev.cpp:1168
tSetDepthStencilSurface oSetDepthStencilSurface
Definition: main.cpp:56
HRESULT APIENTRY hkIDirect3DDevice9_CreateStateBlock(LPDIRECT3DDEVICE9, D3DSTATEBLOCKTYPE Type, IDirect3DStateBlock9 **ppSB)
Definition: d3d9dev.cpp:969
tDrawTriPatch oDrawTriPatch
Definition: main.cpp:133
HRESULT(WINAPI * tDrawPrimitive)(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, UINT, UINT)
Definition: d3d9dev.h:427
HRESULT(WINAPI * tValidateDevice)(LPDIRECT3DDEVICE9, DWORD *)
Definition: d3d9dev.h:383
float APIENTRY hkIDirect3DDevice9_GetNPatchMode(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:1116
HRESULT(WINAPI * tSetCurrentTexturePalette)(LPDIRECT3DDEVICE9, UINT)
Definition: d3d9dev.h:395
HRESULT APIENTRY hkIDirect3DDevice9_SetSamplerState(LPDIRECT3DDEVICE9, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD Value)
Definition: d3d9dev.cpp:1039
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexShaderConstantF(LPDIRECT3DDEVICE9, UINT StartRegister, float *pConstantData, UINT Vector4fCount)
Definition: d3d9dev.cpp:1261
tSetGammaRamp oSetGammaRamp
Definition: main.cpp:38
HRESULT APIENTRY hkIDirect3DDevice9_GetViewport(LPDIRECT3DDEVICE9, D3DVIEWPORT9 *pViewport)
Definition: d3d9dev.cpp:892
HRESULT APIENTRY hkIDirect3DDevice9_MultiplyTransform(LPDIRECT3DDEVICE9, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX *pMatrix)
Definition: d3d9dev.cpp:878
HRESULT APIENTRY hkIDirect3DDevice9_DrawPrimitive(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE PrimitiveType, UINT StartVertex, UINT PrimitiveCount)
Definition: d3d9dev.cpp:1123
HRESULT APIENTRY hkIDirect3DDevice9_SetMaterial(LPDIRECT3DDEVICE9, CONST D3DMATERIAL9 *pMaterial)
Definition: d3d9dev.cpp:899
HRESULT(WINAPI * tEndScene)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:271
HRESULT APIENTRY VS_addcode_ORe1_VS30_LS1(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3493
HRESULT APIENTRY hkIDirect3DDevice9_SetStreamSourceFreq(LPDIRECT3DDEVICE9, UINT StreamNumber, UINT Divider)
Definition: d3d9dev.cpp:1310
HRESULT(WINAPI * tSetDialogBoxMode)(LPDIRECT3DDEVICE9, BOOL)
Definition: d3d9dev.h:183
UINT(WINAPI * tGetAvailableTextureMem)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:119
HRESULT(WINAPI * tGetDirect3D)(LPDIRECT3DDEVICE9, IDirect3D9 **)
Definition: d3d9dev.h:127
HRESULT(WINAPI * tGetIndices)(LPDIRECT3DDEVICE9, IDirect3DIndexBuffer9 **)
Definition: d3d9dev.h:523
tGetFrontBufferData oGetFrontBufferData
Definition: main.cpp:50
HRESULT(WINAPI * tDrawTriPatch)(LPDIRECT3DDEVICE9, UINT, CONST float *, CONST D3DTRIPATCH_INFO *)
Definition: d3d9dev.h:567
HRESULT APIENTRY VS_addcode_ORe1_VS20_LS1(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3098
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexShaderConstantB(LPDIRECT3DDEVICE9, UINT StartRegister, CONST BOOL *pConstantData, UINT BoolCount)
Definition: d3d9dev.cpp:1282
std::unordered_map< IDirect3DVertexShader9 *, float > enabled
Definition: d3d9dev.h:36
HRESULT(WINAPI * tProcessVertices)(LPDIRECT3DDEVICE9, UINT, UINT, UINT, IDirect3DVertexBuffer9 *, IDirect3DVertexDeclaration9 *, DWORD)
Definition: d3d9dev.h:443
HRESULT APIENTRY hkIDirect3DDevice9_CreateRenderTarget(LPDIRECT3DDEVICE9, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Lockable, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle)
Definition: d3d9dev.cpp:530
void AddMenuItems(void)
Definition: d3d9dev.cpp:4254
tGetViewport oGetViewport
Definition: main.cpp:65
tSetIndices oSetIndices
Definition: main.cpp:121
tSetRenderState oSetRenderState
Definition: main.cpp:74
tCreateIndexBuffer oCreateIndexBuffer
Definition: main.cpp:44
tSetLight oSetLight
Definition: main.cpp:68
HRESULT(WINAPI * tCreateAdditionalSwapChain)(LPDIRECT3DDEVICE9, D3DPRESENT_PARAMETERS *, IDirect3DSwapChain9 **)
Definition: d3d9dev.h:155
tCreateVertexBuffer oCreateVertexBuffer
Definition: main.cpp:43
tGetScissorRect oGetScissorRect
Definition: main.cpp:93
void initSurfaces(LPDIRECT3DDEVICE9 pD3Ddev)
Definition: d3d9dev.cpp:1686
HRESULT(WINAPI * tDeletePatch)(LPDIRECT3DDEVICE9, UINT)
Definition: d3d9dev.h:571
HRESULT Release()
Definition: d3d9dev.cpp:225
HRESULT APIENTRY hkIDirect3DDevice9_QueryInterface(LPDIRECT3DDEVICE9, REFIID riid, LPVOID *ppvObj)
Definition: d3d9dev.cpp:299
HRESULT(WINAPI * tCreatePixelShader)(LPDIRECT3DDEVICE9, CONST DWORD *, IDirect3DPixelShader9 **)
Definition: d3d9dev.h:527
HRESULT APIENTRY VS_appendDef_V30_LS0(char **ppOut)
Definition: d3d9dev.cpp:2180
BOOL(WINAPI * tGetSoftwareVertexProcessing)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:415
HRESULT(WINAPI * tGetClipPlane)(LPDIRECT3DDEVICE9, DWORD, float *)
Definition: d3d9dev.h:327
HRESULT PostReset()
Definition: d3d9dev.cpp:204
tGetDisplayMode oGetDisplayMode
Definition: main.cpp:25
HRESULT APIENTRY hkIDirect3DDevice9_SetPixelShaderConstantI(LPDIRECT3DDEVICE9, UINT StartRegister, CONST int *pConstantData, UINT Vector4iCount)
Definition: d3d9dev.cpp:1401
HRESULT(WINAPI * tGetFVF)(LPDIRECT3DDEVICE9, DWORD *)
Definition: d3d9dev.h:463
tSetVertexShaderConstantI oSetVertexShaderConstantI
Definition: main.cpp:113
HRESULT APIENTRY hkIDirect3DDevice9_GetPaletteEntries(LPDIRECT3DDEVICE9, UINT PaletteNumber, PALETTEENTRY *pEntries)
Definition: d3d9dev.cpp:1060
HRESULT(WINAPI * tSetStreamSource)(LPDIRECT3DDEVICE9, UINT, IDirect3DVertexBuffer9 *, UINT, UINT)
Definition: d3d9dev.h:503
HRESULT(WINAPI * tReset)(LPDIRECT3DDEVICE9, D3DPRESENT_PARAMETERS *)
Definition: d3d9dev.h:167
_MOVE_DIRECTION
Definition: d3d9dev.h:42
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexDeclaration(LPDIRECT3DDEVICE9, IDirect3DVertexDeclaration9 **ppDecl)
Definition: d3d9dev.cpp:1189
HRESULT APIENTRY hkIDirect3DDevice9_CreateDepthStencilSurface(LPDIRECT3DDEVICE9, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Discard, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle)
Definition: d3d9dev.cpp:537
HRESULT(WINAPI * tSetPixelShaderConstantI)(LPDIRECT3DDEVICE9, UINT, CONST int *, UINT)
Definition: d3d9dev.h:547
HRESULT(WINAPI * tSetTexture)(LPDIRECT3DDEVICE9, DWORD, IDirect3DBaseTexture9 *)
Definition: d3d9dev.h:363
tSetPixelShaderConstantF oSetPixelShaderConstantF
Definition: main.cpp:126
HRESULT(WINAPI * tSetVertexDeclaration)(LPDIRECT3DDEVICE9, IDirect3DVertexDeclaration9 *)
Definition: d3d9dev.h:451
void increaseConvergence()
Definition: d3d9dev.cpp:1648
tGetRenderTargetData oGetRenderTargetData
Definition: main.cpp:49
HRESULT APIENTRY hkIDirect3DDevice9_CreateIndexBuffer(LPDIRECT3DDEVICE9, UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer9 **ppIndexBuffer, HANDLE *pSharedHandle)
Definition: d3d9dev.cpp:523
HRESULT APIENTRY hkIDirect3DDevice9_LightEnable(LPDIRECT3DDEVICE9, DWORD LightIndex, BOOL bEnable)
Definition: d3d9dev.cpp:927
HRESULT APIENTRY hkIDirect3DDevice9_GetPixelShaderConstantF(LPDIRECT3DDEVICE9, UINT StartRegister, float *pConstantData, UINT Vector4fCount)
Definition: d3d9dev.cpp:1394
tCreateDepthStencilSurface oCreateDepthStencilSurface
Definition: main.cpp:46
HRESULT APIENTRY hkIDirect3DDevice9_SetFVF(LPDIRECT3DDEVICE9, DWORD FVF)
Definition: d3d9dev.cpp:1196
HRESULT(WINAPI * tSetViewport)(LPDIRECT3DDEVICE9, CONST D3DVIEWPORT9 *)
Definition: d3d9dev.h:291
tSetDialogBoxMode oSetDialogBoxMode
Definition: main.cpp:37
HRESULT(WINAPI * tUpdateSurface)(LPDIRECT3DDEVICE9, IDirect3DSurface9 *, CONST RECT *, IDirect3DSurface9 *, CONST POINT *)
Definition: d3d9dev.h:223
HRESULT(WINAPI * tSetIndices)(LPDIRECT3DDEVICE9, IDirect3DIndexBuffer9 *)
Definition: d3d9dev.h:519
HRESULT(WINAPI * tSetSoftwareVertexProcessing)(LPDIRECT3DDEVICE9, BOOL)
Definition: d3d9dev.h:411
HRESULT(WINAPI * tGetClipStatus)(LPDIRECT3DDEVICE9, D3DCLIPSTATUS9 *)
Definition: d3d9dev.h:355
tProcessVertices oProcessVertices
Definition: main.cpp:102
std::unordered_map< IDirect3DVertexShader9 *, IDirect3DVertexShader9 * > stereoVS
Definition: d3d9dev.h:35
tGetPixelShader oGetPixelShader
Definition: main.cpp:125
void APIENTRY hkIDirect3DDevice9_SetCursorPosition(LPDIRECT3DDEVICE9, int X, int Y, DWORD Flags)
Definition: d3d9dev.cpp:380
tDrawRectPatch oDrawRectPatch
Definition: main.cpp:132
HRESULT APIENTRY hkIDirect3DDevice9_GetCreationParameters(LPDIRECT3DDEVICE9, D3DDEVICE_CREATION_PARAMETERS *pParameters)
Definition: d3d9dev.cpp:366
HRESULT(WINAPI * tGetRasterStatus)(LPDIRECT3DDEVICE9, UINT, D3DRASTER_STATUS *)
Definition: d3d9dev.h:179
HRESULT(WINAPI * tGetSwapChain)(LPDIRECT3DDEVICE9, UINT, IDirect3DSwapChain9 **)
Definition: d3d9dev.h:159
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexShaderConstantB(LPDIRECT3DDEVICE9, UINT StartRegister, BOOL *pConstantData, UINT BoolCount)
Definition: d3d9dev.cpp:1289
tGetNPatchMode oGetNPatchMode
Definition: main.cpp:97
HRESULT(WINAPI * tEndStateBlock)(LPDIRECT3DDEVICE9, IDirect3DStateBlock9 **)
Definition: d3d9dev.h:347
HRESULT(WINAPI * tGetRenderTargetData)(LPDIRECT3DDEVICE9, IDirect3DSurface9 *, IDirect3DSurface9 *)
Definition: d3d9dev.h:231
tCreateCubeTexture oCreateCubeTexture
Definition: main.cpp:42
void hkIDirect3DDevice9_IDirect3DDevice9(LPDIRECT3DDEVICE9 pD3Ddev)
Definition: d3d9dev.cpp:261
settingsVS()
Definition: d3d9dev.h:32
HRESULT(WINAPI * tGetMaterial)(LPDIRECT3DDEVICE9, D3DMATERIAL9 *)
Definition: d3d9dev.h:303
tCreateAdditionalSwapChain oCreateAdditionalSwapChain
Definition: main.cpp:30
HRESULT APIENTRY hkIDirect3DDevice9_GetStreamSource(LPDIRECT3DDEVICE9, UINT StreamNumber, IDirect3DVertexBuffer9 **ppStreamData, UINT *OffsetInBytes, UINT *pStride)
Definition: d3d9dev.cpp:1303
HRESULT(WINAPI * tGetVertexShaderConstantB)(LPDIRECT3DDEVICE9, UINT, BOOL *, UINT)
Definition: d3d9dev.h:499
HRESULT APIENTRY hkIDirect3DDevice9_CreateVertexDeclaration(LPDIRECT3DDEVICE9, CONST D3DVERTEXELEMENT9 *pVertexElements, IDirect3DVertexDeclaration9 **ppDecl)
Definition: d3d9dev.cpp:1175
HRESULT APIENTRY hkIDirect3DDevice9_GetFrontBufferData(LPDIRECT3DDEVICE9, UINT iSwapChain, IDirect3DSurface9 *pDestSurface)
Definition: d3d9dev.cpp:565
HRESULT APIENTRY hkIDirect3DDevice9_GetDeviceCaps(LPDIRECT3DDEVICE9, D3DCAPS9 *pCaps)
Definition: d3d9dev.cpp:352
HRESULT(WINAPI * tCreateRenderTarget)(LPDIRECT3DDEVICE9, UINT, UINT, D3DFORMAT, D3DMULTISAMPLE_TYPE, DWORD, BOOL, IDirect3DSurface9 **, HANDLE *)
Definition: d3d9dev.h:215
HRESULT(WINAPI * tCreateDepthStencilSurface)(LPDIRECT3DDEVICE9, UINT, UINT, D3DFORMAT, D3DMULTISAMPLE_TYPE, DWORD, BOOL, IDirect3DSurface9 **, HANDLE *)
Definition: d3d9dev.h:219
HRESULT(WINAPI * tGetVertexShaderConstantF)(LPDIRECT3DDEVICE9, UINT, float *, UINT)
Definition: d3d9dev.h:483
HRESULT APIENTRY hkIDirect3DDevice9_StretchRect(LPDIRECT3DDEVICE9, IDirect3DSurface9 *pSourceSurface, CONST RECT *pSourceRect, IDirect3DSurface9 *pDestSurface, CONST RECT *pDestRect, D3DTEXTUREFILTERTYPE Filter)
Definition: d3d9dev.cpp:572
HRESULT(WINAPI * tSetVertexShaderConstantF)(LPDIRECT3DDEVICE9, UINT, CONST float *, UINT)
Definition: d3d9dev.h:479
tQueryInterface oQueryInterface
Definition: main.cpp:17
HRESULT(WINAPI * tSetDepthStencilSurface)(LPDIRECT3DDEVICE9, IDirect3DSurface9 *)
Definition: d3d9dev.h:259
HRESULT APIENTRY hkIDirect3DDevice9_SetClipStatus(LPDIRECT3DDEVICE9, CONST D3DCLIPSTATUS9 *pClipStatus)
Definition: d3d9dev.cpp:990
HRESULT APIENTRY hkIDirect3DDevice9_BeginScene(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:707
HRESULT APIENTRY hkIDirect3DDevice9_Present(LPDIRECT3DDEVICE9, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion)
Definition: d3d9dev.cpp:453
HRESULT(WINAPI * tGetDeviceCaps)(LPDIRECT3DDEVICE9, D3DCAPS9 *)
Definition: d3d9dev.h:131
ULONG(WINAPI * tAddRef)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:107
tSetPixelShaderConstantB oSetPixelShaderConstantB
Definition: main.cpp:130
tGetStreamSourceFreq oGetStreamSourceFreq
Definition: main.cpp:120
tBeginScene oBeginScene
Definition: main.cpp:58
tUpdateSurface oUpdateSurface
Definition: main.cpp:47
BOOL APIENTRY hkIDirect3DDevice9_GetSoftwareVertexProcessing(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:1102
tCreateStateBlock oCreateStateBlock
Definition: main.cpp:76
tValidateDevice oValidateDevice
Definition: main.cpp:87
tSetClipStatus oSetClipStatus
Definition: main.cpp:79
HRESULT(WINAPI * tGetViewport)(LPDIRECT3DDEVICE9, D3DVIEWPORT9 *)
Definition: d3d9dev.h:295
HRESULT APIENTRY hkIDirect3DDevice9_DrawRectPatch(LPDIRECT3DDEVICE9, UINT Handle, CONST float *pNumSegs, CONST D3DRECTPATCH_INFO *pRectPatchInfo)
Definition: d3d9dev.cpp:1429
HRESULT(WINAPI * tGetVertexShader)(LPDIRECT3DDEVICE9, IDirect3DVertexShader9 **)
Definition: d3d9dev.h:475
tUpdateTexture oUpdateTexture
Definition: main.cpp:48
void decreaseConvergence()
Definition: d3d9dev.cpp:1638
HRESULT(WINAPI * tDrawPrimitiveUP)(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, UINT, CONST void *, UINT)
Definition: d3d9dev.h:435
HRESULT APIENTRY hkIDirect3DDevice9_CreateTexture(LPDIRECT3DDEVICE9, UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture9 **ppTexture, HANDLE *pSharedHandle)
Definition: d3d9dev.cpp:495
tPresent oPresent
Definition: main.cpp:34
HRESULT(WINAPI * tGetStreamSourceFreq)(LPDIRECT3DDEVICE9, UINT, UINT *)
Definition: d3d9dev.h:515
HRESULT APIENTRY hkIDirect3DDevice9_GetPixelShaderConstantI(LPDIRECT3DDEVICE9, UINT StartRegister, int *pConstantData, UINT Vector4iCount)
Definition: d3d9dev.cpp:1408
~CD3DManager()
Definition: d3d9dev.h:18
HRESULT(WINAPI * tGetDisplayMode)(LPDIRECT3DDEVICE9, UINT, D3DDISPLAYMODE *)
Definition: d3d9dev.h:135
ULONG APIENTRY hkIDirect3DDevice9_AddRef(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:306
tGetMaterial oGetMaterial
Definition: main.cpp:67
HRESULT APIENTRY CreateModifiedPixelShader(LPDIRECT3DDEVICE9 pD3Ddev, CONST DWORD *pFunction, IDirect3DPixelShader9 **ppShader)
Definition: d3d9dev.cpp:3977
tSetClipPlane oSetClipPlane
Definition: main.cpp:72
HRESULT APIENTRY VS_addcode_ORgt1_VS30_LS1(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3921
HRESULT APIENTRY hkIDirect3DDevice9_SetPixelShader(LPDIRECT3DDEVICE9, IDirect3DPixelShader9 *pShader)
Definition: d3d9dev.cpp:1346
HRESULT APIENTRY VS_appendDef_V30_LS1(char **ppOut)
Definition: d3d9dev.cpp:2197
tDeletePatch oDeletePatch
Definition: main.cpp:134
HRESULT APIENTRY hkIDirect3DDevice9_SetPixelShaderConstantB(LPDIRECT3DDEVICE9, UINT StartRegister, CONST BOOL *pConstantData, UINT BoolCount)
Definition: d3d9dev.cpp:1415
tGetRenderTarget oGetRenderTarget
Definition: main.cpp:55
tGetPixelShaderConstantF oGetPixelShaderConstantF
Definition: main.cpp:127
HRESULT APIENTRY VS_addcode_ORe1_VS11_LS1(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:2675
HRESULT APIENTRY VS_appendDef_V11_LS0(char **ppOut)
Definition: d3d9dev.cpp:2106
HRESULT APIENTRY hkIDirect3DDevice9_GetRasterStatus(LPDIRECT3DDEVICE9, UINT iSwapChain, D3DRASTER_STATUS *pRasterStatus)
Definition: d3d9dev.cpp:467
HRESULT APIENTRY hkIDirect3DDevice9_Clear(LPDIRECT3DDEVICE9, DWORD Count, CONST D3DRECT *pRects, DWORD Flags, D3DCOLOR Color, float Z, DWORD Stencil)
Definition: d3d9dev.cpp:851
tGetVertexDeclaration oGetVertexDeclaration
Definition: main.cpp:105
tGetClipStatus oGetClipStatus
Definition: main.cpp:80
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexShader(LPDIRECT3DDEVICE9, IDirect3DVertexShader9 **ppShader)
Definition: d3d9dev.cpp:1247
HRESULT APIENTRY VS_addcode_ORgt1_VS11_LS1(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3729
void decreaseSeparation()
Definition: d3d9dev.cpp:1618
tGetTransform oGetTransform
Definition: main.cpp:62
HRESULT APIENTRY hkIDirect3DDevice9_SetDialogBoxMode(LPDIRECT3DDEVICE9, BOOL bEnableDialogs)
Definition: d3d9dev.cpp:474
HRESULT APIENTRY hkIDirect3DDevice9_GetRenderTargetData(LPDIRECT3DDEVICE9, IDirect3DSurface9 *pRenderTarget, IDirect3DSurface9 *pDestSurface)
Definition: d3d9dev.cpp:558
tGetPixelShaderConstantB oGetPixelShaderConstantB
Definition: main.cpp:131
tEvictManagedResources oEvictManagedResources
Definition: main.cpp:22
HRESULT APIENTRY hkIDirect3DDevice9_GetBackBuffer(LPDIRECT3DDEVICE9, UINT iSwapChain, UINT iBackBuffer, D3DBACKBUFFER_TYPE Type, IDirect3DSurface9 **ppBackBuffer)
Definition: d3d9dev.cpp:460
UINT(WINAPI * tGetNumberOfSwapChains)(LPDIRECT3DDEVICE9)
Definition: d3d9dev.h:163
HRESULT APIENTRY VS_addcode_ORgt1_VS11_LS0(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3694
HRESULT APIENTRY VS_addcode_ORe1_VS30_LS0(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3328
HRESULT APIENTRY hkIDirect3DDevice9_GetClipPlane(LPDIRECT3DDEVICE9, DWORD Index, float *pPlane)
Definition: d3d9dev.cpp:948
HRESULT APIENTRY VS_appendDef_V20_LS1(char **ppOut)
Definition: d3d9dev.cpp:2160
tGetCreationParameters oGetCreationParameters
Definition: main.cpp:26
HRESULT(WINAPI * tGetRenderTarget)(LPDIRECT3DDEVICE9, DWORD, IDirect3DSurface9 **)
Definition: d3d9dev.h:255
tDrawIndexedPrimitiveUP oDrawIndexedPrimitiveUP
Definition: main.cpp:101
HRESULT(WINAPI * tSetPaletteEntries)(LPDIRECT3DDEVICE9, UINT, CONST PALETTEENTRY *)
Definition: d3d9dev.h:387
tSetVertexShaderConstantB oSetVertexShaderConstantB
Definition: main.cpp:115
tSetStreamSourceFreq oSetStreamSourceFreq
Definition: main.cpp:119
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexShaderConstantI(LPDIRECT3DDEVICE9, UINT StartRegister, int *pConstantData, UINT Vector4iCount)
Definition: d3d9dev.cpp:1275
HRESULT APIENTRY VS_replaceOR_V11(char **ppIn, int *pcountOR, char *pOR, char **ppOut)
Definition: d3d9dev.cpp:2220
HRESULT(WINAPI * tSetPixelShaderConstantF)(LPDIRECT3DDEVICE9, UINT, CONST float *, UINT)
Definition: d3d9dev.h:539
HRESULT APIENTRY hkIDirect3DDevice9_GetSwapChain(LPDIRECT3DDEVICE9, UINT iSwapChain, IDirect3DSwapChain9 **pSwapChain)
Definition: d3d9dev.cpp:401
void APIENTRY hkIDirect3DDevice9_GetGammaRamp(LPDIRECT3DDEVICE9, UINT iSwapChain, D3DGAMMARAMP *pRamp)
Definition: d3d9dev.cpp:488
HRESULT(WINAPI * tStretchRect)(LPDIRECT3DDEVICE9, IDirect3DSurface9 *, CONST RECT *, IDirect3DSurface9 *, CONST RECT *, D3DTEXTUREFILTERTYPE)
Definition: d3d9dev.h:239
HRESULT APIENTRY VS_addcode_ORe1_VS11_LS0(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:2518
BOOL(WINAPI * tShowCursor)(LPDIRECT3DDEVICE9, BOOL)
Definition: d3d9dev.h:151
BOOL APIENTRY hkIDirect3DDevice9_ShowCursor(LPDIRECT3DDEVICE9, BOOL bShow)
Definition: d3d9dev.cpp:387
HRESULT APIENTRY hkIDirect3DDevice9_DrawIndexedPrimitive(LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
Definition: d3d9dev.cpp:1142
tSetTexture oSetTexture
Definition: main.cpp:82
HRESULT APIENTRY hkIDirect3DDevice9_CreateOffscreenPlainSurface(LPDIRECT3DDEVICE9, UINT Width, UINT Height, D3DFORMAT Format, D3DPOOL Pool, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle)
Definition: d3d9dev.cpp:586
HRESULT(WINAPI * tGetCurrentTexturePalette)(LPDIRECT3DDEVICE9, UINT *)
Definition: d3d9dev.h:399
HRESULT(WINAPI * tGetPixelShader)(LPDIRECT3DDEVICE9, IDirect3DPixelShader9 **)
Definition: d3d9dev.h:535
tGetAvailableTextureMem oGetAvailableTextureMem
Definition: main.cpp:21
HRESULT(WINAPI * tGetStreamSource)(LPDIRECT3DDEVICE9, UINT, IDirect3DVertexBuffer9 **, UINT *, UINT *)
Definition: d3d9dev.h:507
tGetSoftwareVertexProcessing oGetSoftwareVertexProcessing
Definition: main.cpp:95
HRESULT APIENTRY hkIDirect3DDevice9_GetScissorRect(LPDIRECT3DDEVICE9, RECT *pRect)
Definition: d3d9dev.cpp:1088
HRESULT APIENTRY hkIDirect3DDevice9_GetStreamSourceFreq(LPDIRECT3DDEVICE9, UINT StreamNumber, UINT *Divider)
Definition: d3d9dev.cpp:1317
HRESULT(WINAPI * tGetBackBuffer)(LPDIRECT3DDEVICE9, UINT, UINT, D3DBACKBUFFER_TYPE, IDirect3DSurface9 **)
Definition: d3d9dev.h:175
HRESULT(WINAPI * tSetVertexShaderConstantI)(LPDIRECT3DDEVICE9, UINT, CONST int *, UINT)
Definition: d3d9dev.h:487
HRESULT(WINAPI * tGetPaletteEntries)(LPDIRECT3DDEVICE9, UINT, PALETTEENTRY *)
Definition: d3d9dev.h:391
HRESULT APIENTRY hkIDirect3DDevice9_TestCooperativeLevel(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:324
HRESULT(WINAPI * tGetLight)(LPDIRECT3DDEVICE9, DWORD, D3DLIGHT9 *)
Definition: d3d9dev.h:311
tGetBackBuffer oGetBackBuffer
Definition: main.cpp:35
HRESULT APIENTRY hkIDirect3DDevice9_CreateVertexBuffer(LPDIRECT3DDEVICE9, UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer9 **ppVertexBuffer, HANDLE *pSharedHandle)
Definition: d3d9dev.cpp:516
tGetNumberOfSwapChains oGetNumberOfSwapChains
Definition: main.cpp:32
UINT APIENTRY hkIDirect3DDevice9_GetAvailableTextureMem(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:331
tGetPixelShaderConstantI oGetPixelShaderConstantI
Definition: main.cpp:129
HRESULT APIENTRY hkIDirect3DDevice9_GetRenderTarget(LPDIRECT3DDEVICE9, DWORD RenderTargetIndex, IDirect3DSurface9 **ppRenderTarget)
Definition: d3d9dev.cpp:655
tCreateTexture oCreateTexture
Definition: main.cpp:40
tGetLight oGetLight
Definition: main.cpp:69
HRESULT(WINAPI * tSetMaterial)(LPDIRECT3DDEVICE9, CONST D3DMATERIAL9 *)
Definition: d3d9dev.h:299
HRESULT APIENTRY VS_addcode_ORgt1_VS30_LS0(char **ppIn, char *strOR, char **ppOut)
Definition: d3d9dev.cpp:3877
HRESULT APIENTRY hkIDirect3DDevice9_ColorFill(LPDIRECT3DDEVICE9, IDirect3DSurface9 *pSurface, CONST RECT *pRect, D3DCOLOR color)
Definition: d3d9dev.cpp:579
HRESULT APIENTRY hkIDirect3DDevice9_UpdateSurface(LPDIRECT3DDEVICE9, IDirect3DSurface9 *pSourceSurface, CONST RECT *pSourceRect, IDirect3DSurface9 *pDestinationSurface, CONST POINT *pDestPoint)
Definition: d3d9dev.cpp:544
HRESULT(WINAPI * tCreateQuery)(LPDIRECT3DDEVICE9, D3DQUERYTYPE, IDirect3DQuery9 **)
Definition: d3d9dev.h:575
tEndScene oEndScene
Definition: main.cpp:59
tSetVertexShader oSetVertexShader
Definition: main.cpp:109
tSetCurrentTexturePalette oSetCurrentTexturePalette
Definition: main.cpp:90
HRESULT APIENTRY hkIDirect3DDevice9_GetCurrentTexturePalette(LPDIRECT3DDEVICE9, UINT *pPaletteNumber)
Definition: d3d9dev.cpp:1074
HRESULT APIENTRY hkIDirect3DDevice9_GetSamplerState(LPDIRECT3DDEVICE9, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD *pValue)
Definition: d3d9dev.cpp:1032
void addVSMenuItem(IDirect3DVertexShader9 *pShader)
Definition: d3d9dev.cpp:4265
tSetStreamSource oSetStreamSource
Definition: main.cpp:117
HRESULT APIENTRY hkIDirect3DDevice9_SetTexture(LPDIRECT3DDEVICE9, DWORD Stage, IDirect3DBaseTexture9 *pTexture)
Definition: d3d9dev.cpp:1011
HRESULT APIENTRY hkIDirect3DDevice9_GetDisplayMode(LPDIRECT3DDEVICE9, UINT iSwapChain, D3DDISPLAYMODE *pMode)
Definition: d3d9dev.cpp:359
tAddRef oAddRef
Definition: main.cpp:18
HRESULT APIENTRY hkIDirect3DDevice9_CreateQuery(LPDIRECT3DDEVICE9, D3DQUERYTYPE Type, IDirect3DQuery9 **ppQuery)
Definition: d3d9dev.cpp:1450
tReset oReset
Definition: main.cpp:33
HRESULT APIENTRY hkIDirect3DDevice9_SetStreamSource(LPDIRECT3DDEVICE9, UINT StreamNumber, IDirect3DVertexBuffer9 *pStreamData, UINT OffsetInBytes, UINT Stride)
Definition: d3d9dev.cpp:1296
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexShaderConstantI(LPDIRECT3DDEVICE9, UINT StartRegister, CONST int *pConstantData, UINT Vector4iCount)
Definition: d3d9dev.cpp:1268
HRESULT(WINAPI * tColorFill)(LPDIRECT3DDEVICE9, IDirect3DSurface9 *, CONST RECT *, D3DCOLOR)
Definition: d3d9dev.h:243
HRESULT APIENTRY hkIDirect3DDevice9_GetTextureStageState(LPDIRECT3DDEVICE9, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD *pValue)
Definition: d3d9dev.cpp:1018
HRESULT APIENTRY hkIDirect3DDevice9_GetIndices(LPDIRECT3DDEVICE9, IDirect3DIndexBuffer9 **ppIndexData)
Definition: d3d9dev.cpp:1331
HRESULT(WINAPI * tSetCursorProperties)(LPDIRECT3DDEVICE9, UINT, UINT, IDirect3DSurface9 *)
Definition: d3d9dev.h:143
HRESULT APIENTRY hkIDirect3DDevice9_GetMaterial(LPDIRECT3DDEVICE9, D3DMATERIAL9 *pMaterial)
Definition: d3d9dev.cpp:906
tGetDirect3D oGetDirect3D
Definition: main.cpp:23
HRESULT APIENTRY hkIDirect3DDevice9_CreateVolumeTexture(LPDIRECT3DDEVICE9, UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DVolumeTexture9 **ppVolumeTexture, HANDLE *pSharedHandle)
Definition: d3d9dev.cpp:502
HRESULT APIENTRY hkIDirect3DDevice9_GetDirect3D(LPDIRECT3DDEVICE9, IDirect3D9 **ppD3D9)
Definition: d3d9dev.cpp:345
HRESULT APIENTRY hkIDirect3DDevice9_GetClipStatus(LPDIRECT3DDEVICE9, D3DCLIPSTATUS9 *pClipStatus)
Definition: d3d9dev.cpp:997
HRESULT(WINAPI * tSetScissorRect)(LPDIRECT3DDEVICE9, CONST RECT *)
Definition: d3d9dev.h:403
HRESULT APIENTRY VS_addcode_common(char **ppIn, int cond, char *pFindOR, char **ppOut, char *strSource, char *strSource2, char *strSource3)
Definition: d3d9dev.cpp:2385
HRESULT(WINAPI * tGetSamplerState)(LPDIRECT3DDEVICE9, DWORD, D3DSAMPLERSTATETYPE, DWORD *)
Definition: d3d9dev.h:375
void move_view(LPDIRECT3DDEVICE9 pD3Ddev, MOVE_DIRECTION move_dir)
Definition: d3d9dev.cpp:1524
HRESULT APIENTRY hkIDirect3DDevice9_EvictManagedResources(LPDIRECT3DDEVICE9)
Definition: d3d9dev.cpp:338
tTestCooperativeLevel oTestCooperativeLevel
Definition: main.cpp:20
HRESULT(WINAPI * tGetPixelShaderConstantF)(LPDIRECT3DDEVICE9, UINT, float *, UINT)
Definition: d3d9dev.h:543