2 * Copyright 2002 Lionel Ulmer
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 /* This is defined here so as to be able to put them in 'drivers' */
21 void InitDefaultStateBlock(STATEBLOCK* lpStateBlock, int version);
24 Main_IDirect3DDeviceImpl_7_3T_2T_1T_QueryInterface(LPDIRECT3DDEVICE7 iface,
29 Main_IDirect3DDeviceImpl_7_3T_2T_1T_AddRef(LPDIRECT3DDEVICE7 iface);
32 Main_IDirect3DDeviceImpl_7_3T_2T_1T_Release(LPDIRECT3DDEVICE7 iface);
35 Main_IDirect3DDeviceImpl_7_GetCaps(LPDIRECT3DDEVICE7 iface,
36 LPD3DDEVICEDESC7 lpD3DHELDevDesc);
39 Main_IDirect3DDeviceImpl_7_3T_EnumTextureFormats(LPDIRECT3DDEVICE7 iface,
40 LPD3DENUMPIXELFORMATSCALLBACK lpD3DEnumPixelProc,
44 Main_IDirect3DDeviceImpl_7_3T_2T_1T_BeginScene(LPDIRECT3DDEVICE7 iface);
47 Main_IDirect3DDeviceImpl_7_3T_2T_1T_EndScene(LPDIRECT3DDEVICE7 iface);
50 Main_IDirect3DDeviceImpl_7_3T_2T_1T_GetDirect3D(LPDIRECT3DDEVICE7 iface,
51 LPDIRECT3D7* lplpDirect3D3);
54 Main_IDirect3DDeviceImpl_7_3T_2T_SetRenderTarget(LPDIRECT3DDEVICE7 iface,
55 LPDIRECTDRAWSURFACE7 lpNewRenderTarget,
59 Main_IDirect3DDeviceImpl_7_3T_2T_GetRenderTarget(LPDIRECT3DDEVICE7 iface,
60 LPDIRECTDRAWSURFACE7* lplpRenderTarget);
63 Main_IDirect3DDeviceImpl_7_Clear(LPDIRECT3DDEVICE7 iface,
72 Main_IDirect3DDeviceImpl_7_3T_2T_SetTransform(LPDIRECT3DDEVICE7 iface,
73 D3DTRANSFORMSTATETYPE dtstTransformStateType,
74 LPD3DMATRIX lpD3DMatrix);
77 Main_IDirect3DDeviceImpl_7_3T_2T_GetTransform(LPDIRECT3DDEVICE7 iface,
78 D3DTRANSFORMSTATETYPE dtstTransformStateType,
79 LPD3DMATRIX lpD3DMatrix);
82 Main_IDirect3DDeviceImpl_7_SetViewport(LPDIRECT3DDEVICE7 iface,
83 LPD3DVIEWPORT7 lpData);
86 Main_IDirect3DDeviceImpl_7_3T_2T_MultiplyTransform(LPDIRECT3DDEVICE7 iface,
87 D3DTRANSFORMSTATETYPE dtstTransformStateType,
88 LPD3DMATRIX lpD3DMatrix);
91 Main_IDirect3DDeviceImpl_7_GetViewport(LPDIRECT3DDEVICE7 iface,
92 LPD3DVIEWPORT7 lpData);
95 Main_IDirect3DDeviceImpl_7_SetMaterial(LPDIRECT3DDEVICE7 iface,
96 LPD3DMATERIAL7 lpMat);
99 Main_IDirect3DDeviceImpl_7_GetMaterial(LPDIRECT3DDEVICE7 iface,
100 LPD3DMATERIAL7 lpMat);
103 Main_IDirect3DDeviceImpl_7_SetLight(LPDIRECT3DDEVICE7 iface,
105 LPD3DLIGHT7 lpLight);
108 Main_IDirect3DDeviceImpl_7_GetLight(LPDIRECT3DDEVICE7 iface,
110 LPD3DLIGHT7 lpLight);
113 Main_IDirect3DDeviceImpl_7_3T_2T_SetRenderState(LPDIRECT3DDEVICE7 iface,
114 D3DRENDERSTATETYPE dwRenderStateType,
115 DWORD dwRenderState);
118 Main_IDirect3DDeviceImpl_7_3T_2T_GetRenderState(LPDIRECT3DDEVICE7 iface,
119 D3DRENDERSTATETYPE dwRenderStateType,
120 LPDWORD lpdwRenderState);
123 Main_IDirect3DDeviceImpl_7_BeginStateBlock(LPDIRECT3DDEVICE7 iface);
126 Main_IDirect3DDeviceImpl_7_EndStateBlock(LPDIRECT3DDEVICE7 iface,
127 LPDWORD lpdwBlockHandle);
130 Main_IDirect3DDeviceImpl_7_PreLoad(LPDIRECT3DDEVICE7 iface,
131 LPDIRECTDRAWSURFACE7 lpddsTexture);
134 Main_IDirect3DDeviceImpl_7_3T_DrawPrimitive(LPDIRECT3DDEVICE7 iface,
135 D3DPRIMITIVETYPE d3dptPrimitiveType,
136 DWORD d3dvtVertexType,
142 Main_IDirect3DDeviceImpl_7_3T_DrawIndexedPrimitive(LPDIRECT3DDEVICE7 iface,
143 D3DPRIMITIVETYPE d3dptPrimitiveType,
144 DWORD d3dvtVertexType,
152 Main_IDirect3DDeviceImpl_7_3T_2T_SetClipStatus(LPDIRECT3DDEVICE7 iface,
153 LPD3DCLIPSTATUS lpD3DClipStatus);
156 Main_IDirect3DDeviceImpl_7_3T_2T_GetClipStatus(LPDIRECT3DDEVICE7 iface,
157 LPD3DCLIPSTATUS lpD3DClipStatus);
160 Main_IDirect3DDeviceImpl_7_3T_DrawPrimitiveStrided(LPDIRECT3DDEVICE7 iface,
161 D3DPRIMITIVETYPE d3dptPrimitiveType,
163 LPD3DDRAWPRIMITIVESTRIDEDDATA lpD3DDrawPrimStrideData,
168 Main_IDirect3DDeviceImpl_7_3T_DrawIndexedPrimitiveStrided(LPDIRECT3DDEVICE7 iface,
169 D3DPRIMITIVETYPE d3dptPrimitiveType,
171 LPD3DDRAWPRIMITIVESTRIDEDDATA lpD3DDrawPrimStrideData,
178 Main_IDirect3DDeviceImpl_7_3T_DrawPrimitiveVB(LPDIRECT3DDEVICE7 iface,
179 D3DPRIMITIVETYPE d3dptPrimitiveType,
180 LPDIRECT3DVERTEXBUFFER7 lpD3DVertexBuf,
186 Main_IDirect3DDeviceImpl_7_3T_DrawIndexedPrimitiveVB(LPDIRECT3DDEVICE7 iface,
187 D3DPRIMITIVETYPE d3dptPrimitiveType,
188 LPDIRECT3DVERTEXBUFFER7 lpD3DVertexBuf,
196 Main_IDirect3DDeviceImpl_7_3T_ComputeSphereVisibility(LPDIRECT3DDEVICE7 iface,
197 LPD3DVECTOR lpCenters,
201 LPDWORD lpdwReturnValues);
204 Main_IDirect3DDeviceImpl_7_3T_GetTexture(LPDIRECT3DDEVICE7 iface,
206 LPDIRECTDRAWSURFACE7* lpTexture);
209 Main_IDirect3DDeviceImpl_7_3T_SetTexture(LPDIRECT3DDEVICE7 iface,
211 LPDIRECTDRAWSURFACE7 lpTexture);
214 Main_IDirect3DDeviceImpl_7_3T_GetTextureStageState(LPDIRECT3DDEVICE7 iface,
216 D3DTEXTURESTAGESTATETYPE d3dTexStageStateType,
220 Main_IDirect3DDeviceImpl_7_3T_SetTextureStageState(LPDIRECT3DDEVICE7 iface,
222 D3DTEXTURESTAGESTATETYPE d3dTexStageStateType,
226 Main_IDirect3DDeviceImpl_7_3T_ValidateDevice(LPDIRECT3DDEVICE7 iface,
230 Main_IDirect3DDeviceImpl_7_ApplyStateBlock(LPDIRECT3DDEVICE7 iface,
231 DWORD dwBlockHandle);
234 Main_IDirect3DDeviceImpl_7_CaptureStateBlock(LPDIRECT3DDEVICE7 iface,
235 DWORD dwBlockHandle);
238 Main_IDirect3DDeviceImpl_7_DeleteStateBlock(LPDIRECT3DDEVICE7 iface,
239 DWORD dwBlockHandle);
242 Main_IDirect3DDeviceImpl_7_CreateStateBlock(LPDIRECT3DDEVICE7 iface,
243 D3DSTATEBLOCKTYPE d3dsbType,
244 LPDWORD lpdwBlockHandle);
247 Main_IDirect3DDeviceImpl_7_Load(LPDIRECT3DDEVICE7 iface,
248 LPDIRECTDRAWSURFACE7 lpDestTex,
250 LPDIRECTDRAWSURFACE7 lpSrcTex,
255 Main_IDirect3DDeviceImpl_7_LightEnable(LPDIRECT3DDEVICE7 iface,
260 Main_IDirect3DDeviceImpl_7_GetLightEnable(LPDIRECT3DDEVICE7 iface,
265 Main_IDirect3DDeviceImpl_7_SetClipPlane(LPDIRECT3DDEVICE7 iface,
267 D3DVALUE* pPlaneEquation);
270 Main_IDirect3DDeviceImpl_7_GetClipPlane(LPDIRECT3DDEVICE7 iface,
272 D3DVALUE* pPlaneEquation);
275 Main_IDirect3DDeviceImpl_7_GetInfo(LPDIRECT3DDEVICE7 iface,
277 LPVOID pDevInfoStruct,
281 Main_IDirect3DDeviceImpl_3_2T_1T_GetCaps(LPDIRECT3DDEVICE3 iface,
282 LPD3DDEVICEDESC lpD3DHWDevDesc,
283 LPD3DDEVICEDESC lpD3DHELDevDesc);
286 Main_IDirect3DDeviceImpl_3_2T_1T_GetStats(LPDIRECT3DDEVICE3 iface,
287 LPD3DSTATS lpD3DStats);
290 Main_IDirect3DDeviceImpl_3_2T_1T_AddViewport(LPDIRECT3DDEVICE3 iface,
291 LPDIRECT3DVIEWPORT3 lpDirect3DViewport3);
294 Main_IDirect3DDeviceImpl_3_2T_1T_DeleteViewport(LPDIRECT3DDEVICE3 iface,
295 LPDIRECT3DVIEWPORT3 lpDirect3DViewport3);
298 Main_IDirect3DDeviceImpl_3_2T_1T_NextViewport(LPDIRECT3DDEVICE3 iface,
299 LPDIRECT3DVIEWPORT3 lpDirect3DViewport3,
300 LPDIRECT3DVIEWPORT3* lplpDirect3DViewport3,
304 Main_IDirect3DDeviceImpl_3_2T_SetCurrentViewport(LPDIRECT3DDEVICE3 iface,
305 LPDIRECT3DVIEWPORT3 lpDirect3DViewport3);
308 Main_IDirect3DDeviceImpl_3_2T_GetCurrentViewport(LPDIRECT3DDEVICE3 iface,
309 LPDIRECT3DVIEWPORT3* lplpDirect3DViewport3);
312 Main_IDirect3DDeviceImpl_3_Begin(LPDIRECT3DDEVICE3 iface,
313 D3DPRIMITIVETYPE d3dptPrimitiveType,
314 DWORD dwVertexTypeDesc,
318 Main_IDirect3DDeviceImpl_3_BeginIndexed(LPDIRECT3DDEVICE3 iface,
319 D3DPRIMITIVETYPE d3dptPrimitiveType,
320 DWORD d3dvtVertexType,
326 Main_IDirect3DDeviceImpl_3_2T_Vertex(LPDIRECT3DDEVICE3 iface,
327 LPVOID lpVertexType);
330 Main_IDirect3DDeviceImpl_3_2T_Index(LPDIRECT3DDEVICE3 iface,
334 Main_IDirect3DDeviceImpl_3_2T_End(LPDIRECT3DDEVICE3 iface,
338 Main_IDirect3DDeviceImpl_3_2T_GetLightState(LPDIRECT3DDEVICE3 iface,
339 D3DLIGHTSTATETYPE dwLightStateType,
340 LPDWORD lpdwLightState);
343 Main_IDirect3DDeviceImpl_3_2T_SetLightState(LPDIRECT3DDEVICE3 iface,
344 D3DLIGHTSTATETYPE dwLightStateType,
348 Main_IDirect3DDeviceImpl_2_1T_SwapTextureHandles(LPDIRECT3DDEVICE2 iface,
349 LPDIRECT3DTEXTURE2 lpD3DTex1,
350 LPDIRECT3DTEXTURE2 lpD3DTex2);
353 Main_IDirect3DDeviceImpl_2_1T_EnumTextureFormats(LPDIRECT3DDEVICE2 iface,
354 LPD3DENUMTEXTUREFORMATSCALLBACK lpD3DEnumTextureProc,
358 Main_IDirect3DDeviceImpl_2_Begin(LPDIRECT3DDEVICE2 iface,
359 D3DPRIMITIVETYPE d3dpt,
360 D3DVERTEXTYPE dwVertexTypeDesc,
364 Main_IDirect3DDeviceImpl_2_BeginIndexed(LPDIRECT3DDEVICE2 iface,
365 D3DPRIMITIVETYPE d3dptPrimitiveType,
366 D3DVERTEXTYPE d3dvtVertexType,
372 Main_IDirect3DDeviceImpl_2_DrawPrimitive(LPDIRECT3DDEVICE2 iface,
373 D3DPRIMITIVETYPE d3dptPrimitiveType,
374 D3DVERTEXTYPE d3dvtVertexType,
380 Main_IDirect3DDeviceImpl_2_DrawIndexedPrimitive(LPDIRECT3DDEVICE2 iface,
381 D3DPRIMITIVETYPE d3dptPrimitiveType,
382 D3DVERTEXTYPE d3dvtVertexType,
390 Main_IDirect3DDeviceImpl_1_Initialize(LPDIRECT3DDEVICE iface,
391 LPDIRECT3D lpDirect3D,
393 LPD3DDEVICEDESC lpD3DDVDesc);
396 Main_IDirect3DDeviceImpl_1_CreateExecuteBuffer(LPDIRECT3DDEVICE iface,
397 LPD3DEXECUTEBUFFERDESC lpDesc,
398 LPDIRECT3DEXECUTEBUFFER* lplpDirect3DExecuteBuffer,
399 IUnknown* pUnkOuter);
402 Main_IDirect3DDeviceImpl_1_Execute(LPDIRECT3DDEVICE iface,
403 LPDIRECT3DEXECUTEBUFFER lpDirect3DExecuteBuffer,
404 LPDIRECT3DVIEWPORT lpDirect3DViewport,
408 Main_IDirect3DDeviceImpl_1_Pick(LPDIRECT3DDEVICE iface,
409 LPDIRECT3DEXECUTEBUFFER lpDirect3DExecuteBuffer,
410 LPDIRECT3DVIEWPORT lpDirect3DViewport,
415 Main_IDirect3DDeviceImpl_1_GetPickRecords(LPDIRECT3DDEVICE iface,
417 LPD3DPICKRECORD lpD3DPickRec);
420 Main_IDirect3DDeviceImpl_1_CreateMatrix(LPDIRECT3DDEVICE iface,
421 LPD3DMATRIXHANDLE lpD3DMatHandle);
424 Main_IDirect3DDeviceImpl_1_SetMatrix(LPDIRECT3DDEVICE iface,
425 D3DMATRIXHANDLE D3DMatHandle,
426 LPD3DMATRIX lpD3DMatrix);
429 Main_IDirect3DDeviceImpl_1_GetMatrix(LPDIRECT3DDEVICE iface,
430 D3DMATRIXHANDLE D3DMatHandle,
431 LPD3DMATRIX lpD3DMatrix);
434 Main_IDirect3DDeviceImpl_1_DeleteMatrix(LPDIRECT3DDEVICE iface,
435 D3DMATRIXHANDLE D3DMatHandle);
438 Thunk_IDirect3DDeviceImpl_3_QueryInterface(LPDIRECT3DDEVICE3 iface,
443 Thunk_IDirect3DDeviceImpl_2_QueryInterface(LPDIRECT3DDEVICE2 iface,
448 Thunk_IDirect3DDeviceImpl_1_QueryInterface(LPDIRECT3DDEVICE iface,
453 Thunk_IDirect3DDeviceImpl_3_AddRef(LPDIRECT3DDEVICE3 iface);
456 Thunk_IDirect3DDeviceImpl_2_AddRef(LPDIRECT3DDEVICE2 iface);
459 Thunk_IDirect3DDeviceImpl_1_AddRef(LPDIRECT3DDEVICE iface);
462 Thunk_IDirect3DDeviceImpl_3_Release(LPDIRECT3DDEVICE3 iface);
465 Thunk_IDirect3DDeviceImpl_2_Release(LPDIRECT3DDEVICE2 iface);
468 Thunk_IDirect3DDeviceImpl_1_Release(LPDIRECT3DDEVICE iface);
471 Thunk_IDirect3DDeviceImpl_2_AddViewport(LPDIRECT3DDEVICE2 iface,
472 LPDIRECT3DVIEWPORT2 lpDirect3DViewport2);
475 Thunk_IDirect3DDeviceImpl_1_AddViewport(LPDIRECT3DDEVICE iface,
476 LPDIRECT3DVIEWPORT lpDirect3DViewport);
479 Thunk_IDirect3DDeviceImpl_2_DeleteViewport(LPDIRECT3DDEVICE2 iface,
480 LPDIRECT3DVIEWPORT2 lpDirect3DViewport2);
483 Thunk_IDirect3DDeviceImpl_1_DeleteViewport(LPDIRECT3DDEVICE iface,
484 LPDIRECT3DVIEWPORT lpDirect3DViewport);
487 Thunk_IDirect3DDeviceImpl_2_NextViewport(LPDIRECT3DDEVICE3 iface,
488 LPDIRECT3DVIEWPORT2 lpDirect3DViewport2,
489 LPDIRECT3DVIEWPORT2* lplpDirect3DViewport2,
493 Thunk_IDirect3DDeviceImpl_1_NextViewport(LPDIRECT3DDEVICE3 iface,
494 LPDIRECT3DVIEWPORT lpDirect3DViewport,
495 LPDIRECT3DVIEWPORT* lplpDirect3DViewport,
499 Thunk_IDirect3DDeviceImpl_3_GetDirect3D(LPDIRECT3DDEVICE3 iface,
500 LPDIRECT3D3* lplpDirect3D3);
503 Thunk_IDirect3DDeviceImpl_2_GetDirect3D(LPDIRECT3DDEVICE2 iface,
504 LPDIRECT3D2* lplpDirect3D2);
507 Thunk_IDirect3DDeviceImpl_1_GetDirect3D(LPDIRECT3DDEVICE iface,
508 LPDIRECT3D* lplpDirect3D);
511 Thunk_IDirect3DDeviceImpl_2_SetCurrentViewport(LPDIRECT3DDEVICE2 iface,
512 LPDIRECT3DVIEWPORT2 lpDirect3DViewport2);
515 Thunk_IDirect3DDeviceImpl_2_GetCurrentViewport(LPDIRECT3DDEVICE2 iface,
516 LPDIRECT3DVIEWPORT2* lpDirect3DViewport2);
519 Thunk_IDirect3DDeviceImpl_3_EnumTextureFormats(LPDIRECT3DDEVICE3 iface,
520 LPD3DENUMPIXELFORMATSCALLBACK lpD3DEnumPixelProc,
524 Thunk_IDirect3DDeviceImpl_3_BeginScene(LPDIRECT3DDEVICE3 iface);
527 Thunk_IDirect3DDeviceImpl_2_BeginScene(LPDIRECT3DDEVICE2 iface);
530 Thunk_IDirect3DDeviceImpl_1_BeginScene(LPDIRECT3DDEVICE iface);
533 Thunk_IDirect3DDeviceImpl_3_EndScene(LPDIRECT3DDEVICE3 iface);
536 Thunk_IDirect3DDeviceImpl_2_EndScene(LPDIRECT3DDEVICE2 iface);
539 Thunk_IDirect3DDeviceImpl_1_EndScene(LPDIRECT3DDEVICE iface);
542 Thunk_IDirect3DDeviceImpl_3_SetTransform(LPDIRECT3DDEVICE3 iface,
543 D3DTRANSFORMSTATETYPE dtstTransformStateType,
544 LPD3DMATRIX lpD3DMatrix);
547 Thunk_IDirect3DDeviceImpl_2_SetTransform(LPDIRECT3DDEVICE2 iface,
548 D3DTRANSFORMSTATETYPE dtstTransformStateType,
549 LPD3DMATRIX lpD3DMatrix);
552 Thunk_IDirect3DDeviceImpl_3_GetTransform(LPDIRECT3DDEVICE3 iface,
553 D3DTRANSFORMSTATETYPE dtstTransformStateType,
554 LPD3DMATRIX lpD3DMatrix);
557 Thunk_IDirect3DDeviceImpl_2_GetTransform(LPDIRECT3DDEVICE2 iface,
558 D3DTRANSFORMSTATETYPE dtstTransformStateType,
559 LPD3DMATRIX lpD3DMatrix);
562 Thunk_IDirect3DDeviceImpl_3_MultiplyTransform(LPDIRECT3DDEVICE3 iface,
563 D3DTRANSFORMSTATETYPE dtstTransformStateType,
564 LPD3DMATRIX lpD3DMatrix);
567 Thunk_IDirect3DDeviceImpl_2_MultiplyTransform(LPDIRECT3DDEVICE2 iface,
568 D3DTRANSFORMSTATETYPE dtstTransformStateType,
569 LPD3DMATRIX lpD3DMatrix);
572 Thunk_IDirect3DDeviceImpl_3_SetRenderState(LPDIRECT3DDEVICE3 iface,
573 D3DRENDERSTATETYPE dwRenderStateType,
574 DWORD dwRenderState);
577 Thunk_IDirect3DDeviceImpl_2_SetRenderState(LPDIRECT3DDEVICE2 iface,
578 D3DRENDERSTATETYPE dwRenderStateType,
579 DWORD dwRenderState);
582 Thunk_IDirect3DDeviceImpl_3_GetRenderState(LPDIRECT3DDEVICE3 iface,
583 D3DRENDERSTATETYPE dwRenderStateType,
584 LPDWORD lpdwRenderState);
587 Thunk_IDirect3DDeviceImpl_2_GetRenderState(LPDIRECT3DDEVICE2 iface,
588 D3DRENDERSTATETYPE dwRenderStateType,
589 LPDWORD lpdwRenderState);
592 Thunk_IDirect3DDeviceImpl_3_DrawPrimitive(LPDIRECT3DDEVICE3 iface,
593 D3DPRIMITIVETYPE d3dptPrimitiveType,
594 DWORD d3dvtVertexType,
600 Thunk_IDirect3DDeviceImpl_3_DrawIndexedPrimitive(LPDIRECT3DDEVICE3 iface,
601 D3DPRIMITIVETYPE d3dptPrimitiveType,
602 DWORD d3dvtVertexType,
610 Thunk_IDirect3DDeviceImpl_3_SetClipStatus(LPDIRECT3DDEVICE3 iface,
611 LPD3DCLIPSTATUS lpD3DClipStatus);
614 Thunk_IDirect3DDeviceImpl_2_SetClipStatus(LPDIRECT3DDEVICE2 iface,
615 LPD3DCLIPSTATUS lpD3DClipStatus);
618 Thunk_IDirect3DDeviceImpl_3_GetClipStatus(LPDIRECT3DDEVICE3 iface,
619 LPD3DCLIPSTATUS lpD3DClipStatus);
622 Thunk_IDirect3DDeviceImpl_2_GetClipStatus(LPDIRECT3DDEVICE2 iface,
623 LPD3DCLIPSTATUS lpD3DClipStatus);
626 Thunk_IDirect3DDeviceImpl_3_DrawPrimitiveStrided(LPDIRECT3DDEVICE3 iface,
627 D3DPRIMITIVETYPE d3dptPrimitiveType,
629 LPD3DDRAWPRIMITIVESTRIDEDDATA lpD3DDrawPrimStrideData,
634 Thunk_IDirect3DDeviceImpl_3_DrawIndexedPrimitiveStrided(LPDIRECT3DDEVICE3 iface,
635 D3DPRIMITIVETYPE d3dptPrimitiveType,
637 LPD3DDRAWPRIMITIVESTRIDEDDATA lpD3DDrawPrimStrideData,
644 Thunk_IDirect3DDeviceImpl_3_ComputeSphereVisibility(LPDIRECT3DDEVICE3 iface,
645 LPD3DVECTOR lpCenters,
649 LPDWORD lpdwReturnValues);
652 Thunk_IDirect3DDeviceImpl_3_GetTextureStageState(LPDIRECT3DDEVICE3 iface,
654 D3DTEXTURESTAGESTATETYPE d3dTexStageStateType,
658 Thunk_IDirect3DDeviceImpl_3_SetTextureStageState(LPDIRECT3DDEVICE3 iface,
660 D3DTEXTURESTAGESTATETYPE d3dTexStageStateType,
664 Thunk_IDirect3DDeviceImpl_3_ValidateDevice(LPDIRECT3DDEVICE3 iface,
668 Thunk_IDirect3DDeviceImpl_2_GetCaps(LPDIRECT3DDEVICE2 iface,
669 LPD3DDEVICEDESC lpD3DHWDevDesc,
670 LPD3DDEVICEDESC lpD3DHELDevDesc);
673 Thunk_IDirect3DDeviceImpl_1_GetCaps(LPDIRECT3DDEVICE iface,
674 LPD3DDEVICEDESC lpD3DHWDevDesc,
675 LPD3DDEVICEDESC lpD3DHELDevDesc);
678 Thunk_IDirect3DDeviceImpl_1_SwapTextureHandles(LPDIRECT3DDEVICE iface,
679 LPDIRECT3DTEXTURE lpD3Dtex1,
680 LPDIRECT3DTEXTURE lpD3DTex2);
683 Thunk_IDirect3DDeviceImpl_2_GetStats(LPDIRECT3DDEVICE2 iface,
684 LPD3DSTATS lpD3DStats);
687 Thunk_IDirect3DDeviceImpl_1_GetStats(LPDIRECT3DDEVICE iface,
688 LPD3DSTATS lpD3DStats);
691 Thunk_IDirect3DDeviceImpl_3_SetRenderTarget(LPDIRECT3DDEVICE3 iface,
692 LPDIRECTDRAWSURFACE4 lpNewRenderTarget,
696 Thunk_IDirect3DDeviceImpl_3_GetRenderTarget(LPDIRECT3DDEVICE3 iface,
697 LPDIRECTDRAWSURFACE4* lplpRenderTarget);
700 Thunk_IDirect3DDeviceImpl_2_SetRenderTarget(LPDIRECT3DDEVICE2 iface,
701 LPDIRECTDRAWSURFACE lpNewRenderTarget,
705 Thunk_IDirect3DDeviceImpl_2_GetRenderTarget(LPDIRECT3DDEVICE2 iface,
706 LPDIRECTDRAWSURFACE* lplpRenderTarget);
709 Thunk_IDirect3DDeviceImpl_2_Vertex(LPDIRECT3DDEVICE2 iface,
710 LPVOID lpVertexType);
713 Thunk_IDirect3DDeviceImpl_2_Index(LPDIRECT3DDEVICE2 iface,
717 Thunk_IDirect3DDeviceImpl_2_End(LPDIRECT3DDEVICE2 iface,
721 Thunk_IDirect3DDeviceImpl_2_GetLightState(LPDIRECT3DDEVICE2 iface,
722 D3DLIGHTSTATETYPE dwLightStateType,
723 LPDWORD lpdwLightState);
726 Thunk_IDirect3DDeviceImpl_2_SetLightState(LPDIRECT3DDEVICE2 iface,
727 D3DLIGHTSTATETYPE dwLightStateType,
731 Thunk_IDirect3DDeviceImpl_1_EnumTextureFormats(LPDIRECT3DDEVICE iface,
732 LPD3DENUMTEXTUREFORMATSCALLBACK lpD3DEnumTextureProc,
736 Thunk_IDirect3DDeviceImpl_3_SetTexture(LPDIRECT3DDEVICE3 iface,
738 LPDIRECT3DTEXTURE2 lpTexture2);
741 Thunk_IDirect3DDeviceImpl_3_DrawPrimitiveVB(LPDIRECT3DDEVICE3 iface,
742 D3DPRIMITIVETYPE d3dptPrimitiveType,
743 LPDIRECT3DVERTEXBUFFER lpD3DVertexBuf,
749 Thunk_IDirect3DDeviceImpl_3_DrawIndexedPrimitiveVB(LPDIRECT3DDEVICE3 iface,
750 D3DPRIMITIVETYPE d3dptPrimitiveType,
751 LPDIRECT3DVERTEXBUFFER lpD3DVertexBuf,
757 Thunk_IDirect3DDeviceImpl_3_GetTexture(LPDIRECT3DDEVICE3 iface,
759 LPDIRECT3DTEXTURE2* lplpTexture2);