2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS ReactX
4 * FILE: dll/directx/d3d9/d3d9_puredevice.c
5 * PURPOSE: d3d9.dll internal device functions
6 * PROGRAMERS: Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
8 #include "d3d9_puredevice.h"
11 #define LOCK_D3DDEVICE9() if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection);
12 #define UNLOCK_D3DDEVICE9() if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection);
14 /* Convert a IDirect3D9 pointer safely to the internal implementation struct */
15 /*static LPD3D9PUREDEVICE IDirect3DDevice9ToImpl(LPDIRECT3DDEVICE9 iface)
20 return (LPD3D9PUREDEVICE)((ULONG_PTR)iface - FIELD_OFFSET(D3D9PUREDEVICE, BaseDevice.lpVtbl));
23 /* IDirect3DDevice9 public interface */
24 HRESULT WINAPI
IDirect3DDevice9Pure_SetRenderTarget(LPDIRECT3DDEVICE9 iface
, DWORD RenderTargetIndex
, IDirect3DSurface9
* pRenderTarget
)
31 HRESULT WINAPI
IDirect3DDevice9Pure_GetRenderTarget(LPDIRECT3DDEVICE9 iface
, DWORD RenderTargetIndex
,IDirect3DSurface9
** ppRenderTarget
)
38 HRESULT WINAPI
IDirect3DDevice9Pure_SetDepthStencilSurface(LPDIRECT3DDEVICE9 iface
, IDirect3DSurface9
* pNewZStencil
)
45 HRESULT WINAPI
IDirect3DDevice9Pure_GetDepthStencilSurface(LPDIRECT3DDEVICE9 iface
, IDirect3DSurface9
** ppZStencilSurface
)
52 HRESULT WINAPI
IDirect3DDevice9Pure_BeginScene(LPDIRECT3DDEVICE9 iface
)
59 HRESULT WINAPI
IDirect3DDevice9Pure_EndScene(LPDIRECT3DDEVICE9 iface
)
66 HRESULT WINAPI
IDirect3DDevice9Pure_Clear(LPDIRECT3DDEVICE9 iface
, DWORD Count
, CONST D3DRECT
* pRects
, DWORD Flags
, D3DCOLOR Color
, float Z
, DWORD Stencil
)
73 HRESULT WINAPI
IDirect3DDevice9Pure_SetTransform(LPDIRECT3DDEVICE9 iface
, D3DTRANSFORMSTATETYPE State
, CONST D3DMATRIX
* pMatrix
)
80 HRESULT WINAPI
IDirect3DDevice9Pure_GetTransform(LPDIRECT3DDEVICE9 iface
, D3DTRANSFORMSTATETYPE State
, D3DMATRIX
* pMatrix
)
87 HRESULT WINAPI
IDirect3DDevice9Pure_MultiplyTransform(LPDIRECT3DDEVICE9 iface
, D3DTRANSFORMSTATETYPE State
, CONST D3DMATRIX
* pMatrix
)
94 HRESULT WINAPI
IDirect3DDevice9Pure_SetViewport(LPDIRECT3DDEVICE9 iface
, CONST D3DVIEWPORT9
* pViewport
)
101 HRESULT WINAPI
IDirect3DDevice9Pure_GetViewport(LPDIRECT3DDEVICE9 iface
, D3DVIEWPORT9
* pViewport
)
108 HRESULT WINAPI
IDirect3DDevice9Pure_SetMaterial(LPDIRECT3DDEVICE9 iface
, CONST D3DMATERIAL9
* pMaterial
)
115 HRESULT WINAPI
IDirect3DDevice9Pure_GetMaterial(LPDIRECT3DDEVICE9 iface
, D3DMATERIAL9
* pMaterial
)
122 HRESULT WINAPI
IDirect3DDevice9Pure_SetLight(LPDIRECT3DDEVICE9 iface
, DWORD Index
, CONST D3DLIGHT9
* pLight
)
129 HRESULT WINAPI
IDirect3DDevice9Pure_GetLight(LPDIRECT3DDEVICE9 iface
, DWORD Index
, D3DLIGHT9
* pLight
)
136 HRESULT WINAPI
IDirect3DDevice9Pure_LightEnable(LPDIRECT3DDEVICE9 iface
, DWORD Index
, BOOL Enable
)
143 HRESULT WINAPI
IDirect3DDevice9Pure_GetLightEnable(LPDIRECT3DDEVICE9 iface
, DWORD Index
, BOOL
* pEnable
)
150 HRESULT WINAPI
IDirect3DDevice9Pure_SetClipPlane(LPDIRECT3DDEVICE9 iface
, DWORD Index
, CONST
float* pPlane
)
157 HRESULT WINAPI
IDirect3DDevice9Pure_GetClipPlane(LPDIRECT3DDEVICE9 iface
, DWORD Index
, float* pPlane
)
164 HRESULT WINAPI
IDirect3DDevice9Pure_SetRenderState(LPDIRECT3DDEVICE9 iface
, D3DRENDERSTATETYPE State
, DWORD Value
)
171 HRESULT WINAPI
IDirect3DDevice9Pure_GetRenderState(LPDIRECT3DDEVICE9 iface
, D3DRENDERSTATETYPE State
, DWORD
* pValue
)
178 HRESULT WINAPI
IDirect3DDevice9Pure_CreateStateBlock(LPDIRECT3DDEVICE9 iface
, D3DSTATEBLOCKTYPE Type
, IDirect3DStateBlock9
** ppSB
)
185 HRESULT WINAPI
IDirect3DDevice9Pure_BeginStateBlock(LPDIRECT3DDEVICE9 iface
)
192 HRESULT WINAPI
IDirect3DDevice9Pure_EndStateBlock(LPDIRECT3DDEVICE9 iface
, IDirect3DStateBlock9
** ppSB
)
199 HRESULT WINAPI
IDirect3DDevice9Pure_SetClipStatus(LPDIRECT3DDEVICE9 iface
, CONST D3DCLIPSTATUS9
* pClipStatus
)
206 HRESULT WINAPI
IDirect3DDevice9Pure_GetClipStatus(LPDIRECT3DDEVICE9 iface
, D3DCLIPSTATUS9
* pClipStatus
)
213 HRESULT WINAPI
IDirect3DDevice9Pure_GetTexture(LPDIRECT3DDEVICE9 iface
, DWORD Stage
, IDirect3DBaseTexture9
** ppTexture
)
220 HRESULT WINAPI
IDirect3DDevice9Pure_SetTexture(LPDIRECT3DDEVICE9 iface
, DWORD Stage
, IDirect3DBaseTexture9
* pTexture
)
227 HRESULT WINAPI
IDirect3DDevice9Pure_GetTextureStageState(LPDIRECT3DDEVICE9 iface
, DWORD Stage
, D3DTEXTURESTAGESTATETYPE Type
, DWORD
* pValue
)
234 HRESULT WINAPI
IDirect3DDevice9Pure_SetTextureStageState(LPDIRECT3DDEVICE9 iface
, DWORD Stage
, D3DTEXTURESTAGESTATETYPE Type
, DWORD Value
)
241 HRESULT WINAPI
IDirect3DDevice9Pure_GetSamplerState(LPDIRECT3DDEVICE9 iface
, DWORD Sampler
, D3DSAMPLERSTATETYPE Type
, DWORD
* pValue
)
248 HRESULT WINAPI
IDirect3DDevice9Pure_SetSamplerState(LPDIRECT3DDEVICE9 iface
, DWORD Sampler
, D3DSAMPLERSTATETYPE Type
, DWORD Value
)
255 HRESULT WINAPI
IDirect3DDevice9Pure_ValidateDevice(LPDIRECT3DDEVICE9 iface
, DWORD
* pNumPasses
)
262 HRESULT WINAPI
IDirect3DDevice9Pure_SetPaletteEntries(LPDIRECT3DDEVICE9 iface
, UINT PaletteNumber
, CONST PALETTEENTRY
* pEntries
)
269 HRESULT WINAPI
IDirect3DDevice9Pure_GetPaletteEntries(LPDIRECT3DDEVICE9 iface
, UINT PaletteNumber
, PALETTEENTRY
* pEntries
)
276 HRESULT WINAPI
IDirect3DDevice9Pure_SetCurrentTexturePalette(LPDIRECT3DDEVICE9 iface
, UINT PaletteNumber
)
283 HRESULT WINAPI
IDirect3DDevice9Pure_GetCurrentTexturePalette(LPDIRECT3DDEVICE9 iface
, UINT
* pPaletteNumber
)
290 HRESULT WINAPI
IDirect3DDevice9Pure_SetScissorRect(LPDIRECT3DDEVICE9 iface
, CONST RECT
* pRect
)
297 HRESULT WINAPI
IDirect3DDevice9Pure_GetScissorRect(LPDIRECT3DDEVICE9 iface
, RECT
* pRect
)
304 HRESULT WINAPI
IDirect3DDevice9Pure_SetSoftwareVertexProcessing(LPDIRECT3DDEVICE9 iface
, BOOL bSoftware
)
311 BOOL WINAPI
IDirect3DDevice9Pure_GetSoftwareVertexProcessing(LPDIRECT3DDEVICE9 iface
)
318 HRESULT WINAPI
IDirect3DDevice9Pure_SetNPatchMode(LPDIRECT3DDEVICE9 iface
, float nSegments
)
325 float WINAPI
IDirect3DDevice9Pure_GetNPatchMode(LPDIRECT3DDEVICE9 iface
)
332 HRESULT WINAPI
IDirect3DDevice9Pure_DrawPrimitive(LPDIRECT3DDEVICE9 iface
, D3DPRIMITIVETYPE PrimitiveType
, UINT StartVertex
, UINT PrimitiveCount
)
339 HRESULT WINAPI
IDirect3DDevice9Pure_DrawIndexedPrimitive(LPDIRECT3DDEVICE9 iface
, D3DPRIMITIVETYPE PrimitiveType
, INT BaseVertexIndex
, UINT MinVertexIndex
, UINT NumVertices
, UINT startIndex
, UINT primCount
)
346 HRESULT WINAPI
IDirect3DDevice9Pure_DrawPrimitiveUP(LPDIRECT3DDEVICE9 iface
, D3DPRIMITIVETYPE PrimitiveType
, UINT PrimitiveCount
, CONST
void* pVertexStreamZeroData
, UINT VertexStreamZeroStride
)
353 HRESULT WINAPI
IDirect3DDevice9Pure_DrawIndexedPrimitiveUP(LPDIRECT3DDEVICE9 iface
, D3DPRIMITIVETYPE PrimitiveType
, UINT MinVertexIndex
, UINT NumVertices
, UINT PrimitiveCount
, CONST
void* pIndexData
, D3DFORMAT IndexDataFormat
, CONST
void* pVertexStreamZeroData
, UINT VertexStreamZeroStride
)
360 HRESULT WINAPI
IDirect3DDevice9Pure_ProcessVertices(LPDIRECT3DDEVICE9 iface
, UINT SrcStartIndex
, UINT DestIndex
, UINT VertexCount
, IDirect3DVertexBuffer9
* pDestBuffer
, IDirect3DVertexDeclaration9
* pVertexDecl
, DWORD Flags
)
367 HRESULT WINAPI
IDirect3DDevice9Pure_CreateVertexDeclaration(LPDIRECT3DDEVICE9 iface
, CONST D3DVERTEXELEMENT9
* pVertexElements
, IDirect3DVertexDeclaration9
** ppDecl
)
374 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexDeclaration(LPDIRECT3DDEVICE9 iface
, IDirect3DVertexDeclaration9
* pDecl
)
381 HRESULT WINAPI
IDirect3DDevice9Pure_GetVertexDeclaration(LPDIRECT3DDEVICE9 iface
, IDirect3DVertexDeclaration9
** ppDecl
)
388 HRESULT WINAPI
IDirect3DDevice9Pure_SetFVF(LPDIRECT3DDEVICE9 iface
, DWORD FVF
)
395 HRESULT WINAPI
IDirect3DDevice9Pure_GetFVF(LPDIRECT3DDEVICE9 iface
, DWORD
* pFVF
)
402 HRESULT WINAPI
IDirect3DDevice9Pure_CreateVertexShader(LPDIRECT3DDEVICE9 iface
, CONST DWORD
* pFunction
, IDirect3DVertexShader9
** ppShader
)
409 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexShader(LPDIRECT3DDEVICE9 iface
, IDirect3DVertexShader9
* pShader
)
416 HRESULT WINAPI
IDirect3DDevice9Pure_GetVertexShader(LPDIRECT3DDEVICE9 iface
, IDirect3DVertexShader9
** ppShader
)
423 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexShaderConstantF(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST
float* pConstantData
, UINT Vector4fCount
)
430 HRESULT WINAPI
IDirect3DDevice9Pure_GetVertexShaderConstantF(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, float* pConstantData
, UINT Vector4fCount
)
437 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexShaderConstantI(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST
int* pConstantData
, UINT Vector4iCount
)
444 HRESULT WINAPI
IDirect3DDevice9Pure_GetVertexShaderConstantI(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, int* pConstantData
, UINT Vector4iCount
)
451 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexShaderConstantB(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST BOOL
* pConstantData
, UINT BoolCount
)
458 HRESULT WINAPI
IDirect3DDevice9Pure_GetVertexShaderConstantB(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, BOOL
* pConstantData
, UINT BoolCount
)
465 HRESULT WINAPI
IDirect3DDevice9Pure_SetStreamSource(LPDIRECT3DDEVICE9 iface
, UINT StreamNumber
, IDirect3DVertexBuffer9
* pStreamData
, UINT OffsetInBytes
, UINT Stride
)
472 HRESULT WINAPI
IDirect3DDevice9Pure_GetStreamSource(LPDIRECT3DDEVICE9 iface
, UINT StreamNumber
, IDirect3DVertexBuffer9
** ppStreamData
, UINT
* pOffsetInBytes
, UINT
* pStride
)
479 HRESULT WINAPI
IDirect3DDevice9Pure_SetStreamSourceFreq(LPDIRECT3DDEVICE9 iface
, UINT StreamNumber
,UINT Setting
)
486 HRESULT WINAPI
IDirect3DDevice9Pure_GetStreamSourceFreq(LPDIRECT3DDEVICE9 iface
, UINT StreamNumber
, UINT
* pSetting
)
493 HRESULT WINAPI
IDirect3DDevice9Pure_SetIndices(LPDIRECT3DDEVICE9 iface
, IDirect3DIndexBuffer9
* pIndexData
)
500 HRESULT WINAPI
IDirect3DDevice9Pure_GetIndices(LPDIRECT3DDEVICE9 iface
, IDirect3DIndexBuffer9
** ppIndexData
)
507 HRESULT WINAPI
IDirect3DDevice9Pure_CreatePixelShader(LPDIRECT3DDEVICE9 iface
, CONST DWORD
* pFunction
, IDirect3DPixelShader9
** ppShader
)
514 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShader(LPDIRECT3DDEVICE9 iface
, IDirect3DPixelShader9
* pShader
)
521 HRESULT WINAPI
IDirect3DDevice9Pure_GetPixelShader(LPDIRECT3DDEVICE9 iface
, IDirect3DPixelShader9
** ppShader
)
528 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantF(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST
float* pConstantData
, UINT Vector4fCount
)
535 HRESULT WINAPI
IDirect3DDevice9Pure_GetPixelShaderConstantF(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, float* pConstantData
, UINT Vector4fCount
)
542 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantI(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST
int* pConstantData
, UINT Vector4iCount
)
549 HRESULT WINAPI
IDirect3DDevice9Pure_GetPixelShaderConstantI(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, int* pConstantData
, UINT Vector4iCount
)
556 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantB(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST BOOL
* pConstantData
, UINT BoolCount
)
563 HRESULT WINAPI
IDirect3DDevice9Pure_GetPixelShaderConstantB(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, BOOL
* pConstantData
, UINT BoolCount
)
570 HRESULT WINAPI
IDirect3DDevice9Pure_DrawRectPatch(LPDIRECT3DDEVICE9 iface
, UINT Handle
, CONST
float* pNumSegs
, CONST D3DRECTPATCH_INFO
* pRectPatchInfo
)
577 HRESULT WINAPI
IDirect3DDevice9Pure_DrawTriPatch(LPDIRECT3DDEVICE9 iface
, UINT Handle
, CONST
float* pNumSegs
, CONST D3DTRIPATCH_INFO
* pTriPatchInfo
)
584 HRESULT WINAPI
IDirect3DDevice9Pure_DeletePatch(LPDIRECT3DDEVICE9 iface
, UINT Handle
)
591 HRESULT WINAPI
IDirect3DDevice9Pure_CreateQuery(LPDIRECT3DDEVICE9 iface
, D3DQUERYTYPE Type
, IDirect3DQuery9
** ppQuery
)
598 /* IDirect3DDevice9 private interface */
599 HRESULT WINAPI
IDirect3DDevice9Pure_SetRenderStateWorker(LPDIRECT3DDEVICE9 iface
, D3DRENDERSTATETYPE State
, DWORD Value
)
606 HRESULT WINAPI
IDirect3DDevice9Pure_SetTextureStageStateInt(LPDIRECT3DDEVICE9 iface
, DWORD Stage
, D3DTEXTURESTAGESTATETYPE Type
, DWORD Value
)
613 HRESULT WINAPI
IDirect3DDevice9Pure_SetSamplerStateInt(LPDIRECT3DDEVICE9 iface
, DWORD Sampler
, D3DSAMPLERSTATETYPE Type
, DWORD Value
)
620 HRESULT WINAPI
IDirect3DDevice9Pure_SetMaterialInt(LPDIRECT3DDEVICE9 iface
, CONST D3DMATERIAL9
* pMaterial
)
627 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexShaderInt(LPDIRECT3DDEVICE9 iface
, IDirect3DVertexShader9
* pShader
)
634 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexShaderConstantFInt(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
,CONST
float* pConstantData
,UINT Vector4fCount
)
641 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexShaderConstantIInt(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
,CONST
int* pConstantData
,UINT Vector4iCount
)
648 HRESULT WINAPI
IDirect3DDevice9Pure_SetVertexShaderConstantBInt(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
,CONST BOOL
* pConstantData
,UINT BoolCount
)
655 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderInt(LPDIRECT3DDEVICE9 iface
, IDirect3DPixelShader9
* pShader
)
662 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantFInt(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
,CONST
float* pConstantData
,UINT Vector4fCount
)
669 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantIInt(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
,CONST
int* pConstantData
,UINT Vector4iCount
)
676 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantBInt(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
,CONST BOOL
* pConstantData
,UINT BoolCount
)
683 HRESULT WINAPI
IDirect3DDevice9Pure_SetFVFInt(LPDIRECT3DDEVICE9 iface
, DWORD FVF
)
690 HRESULT WINAPI
IDirect3DDevice9Pure_SetTextureInt(LPDIRECT3DDEVICE9 iface
, DWORD Stage
,IDirect3DBaseTexture9
* pTexture
)
697 HRESULT WINAPI
IDirect3DDevice9Pure_SetIndicesInt(LPDIRECT3DDEVICE9 iface
, IDirect3DIndexBuffer9
* pIndexData
)
704 HRESULT WINAPI
IDirect3DDevice9Pure_SetStreamSourceInt(LPDIRECT3DDEVICE9 iface
, UINT StreamNumber
,IDirect3DVertexBuffer9
* pStreamData
,UINT OffsetInBytes
,UINT Stride
)
711 HRESULT WINAPI
IDirect3DDevice9Pure_SetStreamSourceFreqInt(LPDIRECT3DDEVICE9 iface
, UINT StreamNumber
,UINT Setting
)
718 VOID WINAPI
IDirect3DDevice9Pure_UpdateRenderState(LPDIRECT3DDEVICE9 iface
, DWORD Unknown1
, DWORD Unknown2
)
723 HRESULT WINAPI
IDirect3DDevice9Pure_SetTransformInt(LPDIRECT3DDEVICE9 iface
, D3DTRANSFORMSTATETYPE State
,CONST D3DMATRIX
* pMatrix
)
730 HRESULT WINAPI
IDirect3DDevice9Pure_MultiplyTransformInt(LPDIRECT3DDEVICE9 iface
, D3DTRANSFORMSTATETYPE State
, CONST D3DMATRIX
* pMatrix
)
737 HRESULT WINAPI
IDirect3DDevice9Pure_SetClipPlaneInt(LPDIRECT3DDEVICE9 iface
, DWORD Index
, CONST
float* pPlane
)
744 VOID WINAPI
IDirect3DDevice9Pure_UpdateDriverState(LPDIRECT3DDEVICE9 iface
)
749 HRESULT WINAPI
IDirect3DDevice9Pure_SetViewportInt(LPDIRECT3DDEVICE9 iface
, CONST D3DVIEWPORT9
* pViewport
)
756 VOID WINAPI
IDirect3DDevice9Pure_SetStreamSourceWorker(LPDIRECT3DDEVICE9 iface
, LPVOID UnknownStreamData
)
761 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantFWorker(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST
float* pConstantData
, UINT Vector4fCount
)
768 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantIWorker(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST
int* pConstantData
, UINT Vector4iCount
)
775 HRESULT WINAPI
IDirect3DDevice9Pure_SetPixelShaderConstantBWorker(LPDIRECT3DDEVICE9 iface
, UINT StartRegister
, CONST BOOL
* pConstantData
, UINT BoolCount
)
782 VOID WINAPI
IDirect3DDevice9Pure_DrawPrimitiveWorker(LPDIRECT3DDEVICE9 iface
, D3DPRIMITIVETYPE PrimitiveType
, UINT StartVertex
, UINT PrimitiveCount
)
787 HRESULT WINAPI
IDirect3DDevice9Pure_SetLightInt(LPDIRECT3DDEVICE9 iface
, DWORD Index
, CONST D3DLIGHT9
* pLight
)
794 HRESULT WINAPI
IDirect3DDevice9Pure_LightEnableInt(LPDIRECT3DDEVICE9 iface
, DWORD Index
, BOOL Enable
)
801 HRESULT WINAPI
IDirect3DDevice9Pure_SetRenderStateInt(LPDIRECT3DDEVICE9 iface
, D3DRENDERSTATETYPE State
, DWORD Value
)
808 HRESULT WINAPI
IDirect3DDevice9Pure_DrawPrimitiveUPInt(LPDIRECT3DDEVICE9 iface
, D3DPRIMITIVETYPE PrimitiveType
, UINT PrimitiveCount
)
815 HRESULT WINAPI
IDirect3DDevice9Pure_ClearInt(LPDIRECT3DDEVICE9 iface
, DWORD Count
, CONST D3DRECT
* pRects
, DWORD Flags
, D3DCOLOR Color
, float Z
, DWORD Stencil
)
822 VOID WINAPI
IDirect3DDevice9Pure_DrawPrimitivesWorker(LPDIRECT3DDEVICE9 iface
)
827 VOID WINAPI
IDirect3DDevice9Pure_UpdateVertexShader(LPDIRECT3DDEVICE9 iface
)
832 HRESULT WINAPI
IDirect3DDevice9Pure_ValidateDrawCall(LPDIRECT3DDEVICE9 iface
, D3DPRIMITIVETYPE PrimitiveType
, UINT Unknown1
, UINT Unknown2
, UINT Unknown3
, INT Unknown4
, UINT Unknown5
, INT Unknown6
)
839 HRESULT WINAPI
IDirect3DDevice9Pure_Init(LPDIRECT3DDEVICE9 iface
)
846 VOID WINAPI
IDirect3DDevice9Pure_InitState(LPDIRECT3DDEVICE9 iface
, INT State
)
851 VOID WINAPI
IDirect3DDevice9Pure_Destroy(LPDIRECT3DDEVICE9 iface
)
856 VOID WINAPI
IDirect3DDevice9Pure_VirtualDestructor(LPDIRECT3DDEVICE9 iface
)