- TestCooperativeLevel
HRESULT TestCooperativeLevel()
Undocumented in source.
- GetAvailableTextureMem
UINT GetAvailableTextureMem()
Undocumented in source.
- EvictManagedResources
HRESULT EvictManagedResources()
Undocumented in source.
- GetDirect3D
HRESULT GetDirect3D(IDirect3D9* ppD3D9)
Undocumented in source.
- GetDeviceCaps
HRESULT GetDeviceCaps(D3DCAPS9* pCaps)
Undocumented in source.
- GetDisplayMode
HRESULT GetDisplayMode(UINT iSwapChain, D3DDISPLAYMODE* pMode)
Undocumented in source.
- GetCreationParameters
HRESULT GetCreationParameters(D3DDEVICE_CREATION_PARAMETERS* pParameters)
Undocumented in source.
- SetCursorProperties
HRESULT SetCursorProperties(UINT XHotSpot, UINT YHotSpot, IDirect3DSurface9 pCursorBitmap)
Undocumented in source.
- SetCursorPosition
void SetCursorPosition(int X, int Y, DWORD Flags)
Undocumented in source.
- ShowCursor
BOOL ShowCursor(BOOL bShow)
Undocumented in source.
- CreateAdditionalSwapChain
HRESULT CreateAdditionalSwapChain(D3DPRESENT_PARAMETERS* pPresentationParameters, IDirect3DSwapChain9* pSwapChain)
Undocumented in source.
- GetSwapChain
HRESULT GetSwapChain(UINT iSwapChain, IDirect3DSwapChain9* pSwapChain)
Undocumented in source.
- GetNumberOfSwapChains
UINT GetNumberOfSwapChains()
Undocumented in source.
- Reset
HRESULT Reset(D3DPRESENT_PARAMETERS* pPresentationParameters)
Undocumented in source.
- Present
HRESULT Present(const(RECT)* pSourceRect, const(RECT)* pDestRect, HWND hDestWindowOverride, const(RGNDATA)* pDirtyRegion)
Undocumented in source.
- GetBackBuffer
HRESULT GetBackBuffer(UINT iSwapChain, UINT iBackBuffer, D3DBACKBUFFER_TYPE Type, IDirect3DSurface9* ppBackBuffer)
Undocumented in source.
- GetRasterStatus
HRESULT GetRasterStatus(UINT iSwapChain, D3DRASTER_STATUS* pRasterStatus)
Undocumented in source.
- SetDialogBoxMode
HRESULT SetDialogBoxMode(BOOL bEnableDialogs)
Undocumented in source.
- SetGammaRamp
void SetGammaRamp(UINT iSwapChain, DWORD Flags, const(D3DGAMMARAMP)* pRamp)
Undocumented in source.
- GetGammaRamp
void GetGammaRamp(UINT iSwapChain, D3DGAMMARAMP* pRamp)
Undocumented in source.
- CreateTexture
HRESULT CreateTexture(UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture9* ppTexture, HANDLE* pSharedHandle)
Undocumented in source.
- CreateVolumeTexture
HRESULT CreateVolumeTexture(UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DVolumeTexture9* ppVolumeTexture, HANDLE* pSharedHandle)
Undocumented in source.
- CreateCubeTexture
HRESULT CreateCubeTexture(UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DCubeTexture9* ppCubeTexture, HANDLE* pSharedHandle)
Undocumented in source.
- CreateVertexBuffer
HRESULT CreateVertexBuffer(UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer9* ppVertexBuffer, HANDLE* pSharedHandle)
Undocumented in source.
- CreateIndexBuffer
HRESULT CreateIndexBuffer(UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer9* ppIndexBuffer, HANDLE* pSharedHandle)
Undocumented in source.
- CreateRenderTarget
HRESULT CreateRenderTarget(UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Lockable, IDirect3DSurface9* ppSurface, HANDLE* pSharedHandle)
Undocumented in source.
- CreateDepthStencilSurface
HRESULT CreateDepthStencilSurface(UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Discard, IDirect3DSurface9* ppSurface, HANDLE* pSharedHandle)
Undocumented in source.
- UpdateSurface
HRESULT UpdateSurface(IDirect3DSurface9 pSourceSurface, const(RECT)* pSourceRect, IDirect3DSurface9 pDestinationSurface, const(POINT)* pDestPoint)
Undocumented in source.
- UpdateTexture
HRESULT UpdateTexture(IDirect3DBaseTexture9 pSourceTexture, IDirect3DBaseTexture9 pDestinationTexture)
Undocumented in source.
- GetRenderTargetData
HRESULT GetRenderTargetData(IDirect3DSurface9 pRenderTarget, IDirect3DSurface9 pDestSurface)
Undocumented in source.
- GetFrontBufferData
HRESULT GetFrontBufferData(UINT iSwapChain, IDirect3DSurface9 pDestSurface)
Undocumented in source.
- StretchRect
HRESULT StretchRect(IDirect3DSurface9 pSourceSurface, const(RECT)* pSourceRect, IDirect3DSurface9 pDestSurface, const(RECT)* pDestRect, D3DTEXTUREFILTERTYPE Filter)
Undocumented in source.
- ColorFill
HRESULT ColorFill(IDirect3DSurface9 pSurface, const(RECT)* pRect, D3DCOLOR color)
Undocumented in source.
- CreateOffscreenPlainSurface
HRESULT CreateOffscreenPlainSurface(UINT Width, UINT Height, D3DFORMAT Format, D3DPOOL Pool, IDirect3DSurface9* ppSurface, HANDLE* pSharedHandle)
Undocumented in source.
- SetRenderTarget
HRESULT SetRenderTarget(DWORD RenderTargetIndex, IDirect3DSurface9 pRenderTarget)
Undocumented in source.
- GetRenderTarget
HRESULT GetRenderTarget(DWORD RenderTargetIndex, IDirect3DSurface9* ppRenderTarget)
Undocumented in source.
- SetDepthStencilSurface
HRESULT SetDepthStencilSurface(IDirect3DSurface9 pNewZStencil)
Undocumented in source.
- GetDepthStencilSurface
HRESULT GetDepthStencilSurface(IDirect3DSurface9* ppZStencilSurface)
Undocumented in source.
- BeginScene
HRESULT BeginScene()
Undocumented in source.
- EndScene
HRESULT EndScene()
Undocumented in source.
- Clear
HRESULT Clear(DWORD Count, const(D3DRECT)* pRects, DWORD Flags, D3DCOLOR Color, float Z, DWORD Stencil)
Undocumented in source.
- SetTransform
HRESULT SetTransform(D3DTRANSFORMSTATETYPE State, const(D3DMATRIX)* pMatrix)
Undocumented in source.
- GetTransform
HRESULT GetTransform(D3DTRANSFORMSTATETYPE State, D3DMATRIX* pMatrix)
Undocumented in source.
- MultiplyTransform
HRESULT MultiplyTransform(D3DTRANSFORMSTATETYPE , const(D3DMATRIX)* )
Undocumented in source.
- SetViewport
HRESULT SetViewport(const(D3DVIEWPORT9)* pViewport)
Undocumented in source.
- GetViewport
HRESULT GetViewport(D3DVIEWPORT9* pViewport)
Undocumented in source.
- SetMaterial
HRESULT SetMaterial(const(D3DMATERIAL9)* pMaterial)
Undocumented in source.
- GetMaterial
HRESULT GetMaterial(D3DMATERIAL9* pMaterial)
Undocumented in source.
- SetLight
HRESULT SetLight(DWORD Index, const(D3DLIGHT9)* )
Undocumented in source.
- GetLight
HRESULT GetLight(DWORD Index, D3DLIGHT9* )
Undocumented in source.
- LightEnable
HRESULT LightEnable(DWORD Index, BOOL Enable)
Undocumented in source.
- GetLightEnable
HRESULT GetLightEnable(DWORD Index, BOOL* pEnable)
Undocumented in source.
- SetClipPlane
HRESULT SetClipPlane(DWORD Index, const(float)* pPlane)
Undocumented in source.
- GetClipPlane
HRESULT GetClipPlane(DWORD Index, float* pPlane)
Undocumented in source.
- SetRenderState
HRESULT SetRenderState(D3DRENDERSTATETYPE State, DWORD Value)
Undocumented in source.
- GetRenderState
HRESULT GetRenderState(D3DRENDERSTATETYPE State, DWORD* pValue)
Undocumented in source.
- CreateStateBlock
HRESULT CreateStateBlock(D3DSTATEBLOCKTYPE Type, IDirect3DStateBlock9* ppSB)
Undocumented in source.
- BeginStateBlock
HRESULT BeginStateBlock()
Undocumented in source.
- EndStateBlock
HRESULT EndStateBlock(IDirect3DStateBlock9* ppSB)
Undocumented in source.
- SetClipStatus
HRESULT SetClipStatus(const(D3DCLIPSTATUS9)* pClipStatus)
Undocumented in source.
- GetClipStatus
HRESULT GetClipStatus(D3DCLIPSTATUS9* pClipStatus)
Undocumented in source.
- GetTexture
HRESULT GetTexture(DWORD Stage, IDirect3DBaseTexture9* ppTexture)
Undocumented in source.
- SetTexture
HRESULT SetTexture(DWORD Stage, IDirect3DBaseTexture9 pTexture)
Undocumented in source.
- GetTextureStageState
HRESULT GetTextureStageState(DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD* pValue)
Undocumented in source.
- SetTextureStageState
HRESULT SetTextureStageState(DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD Value)
Undocumented in source.
- GetSamplerState
HRESULT GetSamplerState(DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD* pValue)
Undocumented in source.
- SetSamplerState
HRESULT SetSamplerState(DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD Value)
Undocumented in source.
- ValidateDevice
HRESULT ValidateDevice(DWORD* pNumPasses)
Undocumented in source.
- SetPaletteEntries
HRESULT SetPaletteEntries(UINT PaletteNumber, const(PALETTEENTRY)* pEntries)
Undocumented in source.
- GetPaletteEntries
HRESULT GetPaletteEntries(UINT PaletteNumber, PALETTEENTRY* pEntries)
Undocumented in source.
- SetCurrentTexturePalette
HRESULT SetCurrentTexturePalette(UINT PaletteNumber)
Undocumented in source.
- GetCurrentTexturePalette
HRESULT GetCurrentTexturePalette(UINT* PaletteNumber)
Undocumented in source.
- SetScissorRect
HRESULT SetScissorRect(const(RECT)* pRect)
Undocumented in source.
- GetScissorRect
HRESULT GetScissorRect(RECT* pRect)
Undocumented in source.
- SetSoftwareVertexProcessing
HRESULT SetSoftwareVertexProcessing(BOOL bSoftware)
Undocumented in source.
- GetSoftwareVertexProcessing
BOOL GetSoftwareVertexProcessing()
Undocumented in source.
- SetNPatchMode
HRESULT SetNPatchMode(float nSegments)
Undocumented in source.
- GetNPatchMode
float GetNPatchMode()
Undocumented in source.
- DrawPrimitive
HRESULT DrawPrimitive(D3DPRIMITIVETYPE PrimitiveType, UINT StartVertex, UINT PrimitiveCount)
Undocumented in source.
- DrawIndexedPrimitive
HRESULT DrawIndexedPrimitive(D3DPRIMITIVETYPE , INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
Undocumented in source.
- DrawPrimitiveUP
HRESULT DrawPrimitiveUP(D3DPRIMITIVETYPE PrimitiveType, UINT PrimitiveCount, const(void)* pVertexStreamZeroData, UINT VertexStreamZeroStride)
Undocumented in source.
- DrawIndexedPrimitiveUP
HRESULT DrawIndexedPrimitiveUP(D3DPRIMITIVETYPE PrimitiveType, UINT MinVertexIndex, UINT NumVertices, UINT PrimitiveCount, const(void)* pIndexData, D3DFORMAT IndexDataFormat, const(void)* pVertexStreamZeroData, UINT VertexStreamZeroStride)
Undocumented in source.
- ProcessVertices
HRESULT ProcessVertices(UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer9 pDestBuffer, IDirect3DVertexDeclaration9 pVertexDecl, DWORD Flags)
Undocumented in source.
- CreateVertexDeclaration
HRESULT CreateVertexDeclaration(const(D3DVERTEXELEMENT9)* pVertexElements, IDirect3DVertexDeclaration9* ppDecl)
Undocumented in source.
- SetVertexDeclaration
HRESULT SetVertexDeclaration(IDirect3DVertexDeclaration9 pDecl)
Undocumented in source.
- GetVertexDeclaration
HRESULT GetVertexDeclaration(IDirect3DVertexDeclaration9* ppDecl)
Undocumented in source.
- SetFVF
HRESULT SetFVF(DWORD FVF)
Undocumented in source.
- GetFVF
HRESULT GetFVF(DWORD* pFVF)
Undocumented in source.
- CreateVertexShader
HRESULT CreateVertexShader(const(DWORD)* pFunction, IDirect3DVertexShader9* ppShader)
Undocumented in source.
- SetVertexShader
HRESULT SetVertexShader(IDirect3DVertexShader9 pShader)
Undocumented in source.
- GetVertexShader
HRESULT GetVertexShader(IDirect3DVertexShader9* ppShader)
Undocumented in source.
- SetVertexShaderConstantF
HRESULT SetVertexShaderConstantF(UINT StartRegister, const(float)* pConstantData, UINT Vector4fCount)
Undocumented in source.
- GetVertexShaderConstantF
HRESULT GetVertexShaderConstantF(UINT StartRegister, float* pConstantData, UINT Vector4fCount)
Undocumented in source.
- SetVertexShaderConstantI
HRESULT SetVertexShaderConstantI(UINT StartRegister, const(int)* pConstantData, UINT Vector4iCount)
Undocumented in source.
- GetVertexShaderConstantI
HRESULT GetVertexShaderConstantI(UINT StartRegister, int* pConstantData, UINT Vector4iCount)
Undocumented in source.
- SetVertexShaderConstantB
HRESULT SetVertexShaderConstantB(UINT StartRegister, const(BOOL)* pConstantData, UINT BoolCount)
Undocumented in source.
- GetVertexShaderConstantB
HRESULT GetVertexShaderConstantB(UINT StartRegister, BOOL* pConstantData, UINT BoolCount)
Undocumented in source.
- SetStreamSource
HRESULT SetStreamSource(UINT StreamNumber, IDirect3DVertexBuffer9 pStreamData, UINT OffsetInBytes, UINT Stride)
Undocumented in source.
- GetStreamSource
HRESULT GetStreamSource(UINT StreamNumber, IDirect3DVertexBuffer9* ppStreamData, UINT* pOffsetInBytes, UINT* pStride)
Undocumented in source.
- SetStreamSourceFreq
HRESULT SetStreamSourceFreq(UINT StreamNumber, UINT Setting)
Undocumented in source.
- GetStreamSourceFreq
HRESULT GetStreamSourceFreq(UINT StreamNumber, UINT* pSetting)
Undocumented in source.
- SetIndices
HRESULT SetIndices(IDirect3DIndexBuffer9 pIndexData)
Undocumented in source.
- GetIndices
HRESULT GetIndices(IDirect3DIndexBuffer9* ppIndexData)
Undocumented in source.
- CreatePixelShader
HRESULT CreatePixelShader(const(DWORD)* pFunction, IDirect3DPixelShader9* ppShader)
Undocumented in source.
- SetPixelShader
HRESULT SetPixelShader(IDirect3DPixelShader9 pShader)
Undocumented in source.
- GetPixelShader
HRESULT GetPixelShader(IDirect3DPixelShader9* ppShader)
Undocumented in source.
- SetPixelShaderConstantF
HRESULT SetPixelShaderConstantF(UINT StartRegister, const(float)* pConstantData, UINT Vector4fCount)
Undocumented in source.
- GetPixelShaderConstantF
HRESULT GetPixelShaderConstantF(UINT StartRegister, float* pConstantData, UINT Vector4fCount)
Undocumented in source.
- SetPixelShaderConstantI
HRESULT SetPixelShaderConstantI(UINT StartRegister, const(int)* pConstantData, UINT Vector4iCount)
Undocumented in source.
- GetPixelShaderConstantI
HRESULT GetPixelShaderConstantI(UINT StartRegister, int* pConstantData, UINT Vector4iCount)
Undocumented in source.
- SetPixelShaderConstantB
HRESULT SetPixelShaderConstantB(UINT StartRegister, const(BOOL)* pConstantData, UINT BoolCount)
Undocumented in source.
- GetPixelShaderConstantB
HRESULT GetPixelShaderConstantB(UINT StartRegister, BOOL* pConstantData, UINT BoolCount)
Undocumented in source.
- DrawRectPatch
HRESULT DrawRectPatch(UINT Handle, const(float)* pNumSegs, const(D3DRECTPATCH_INFO)* pRectPatchInfo)
Undocumented in source.
- DrawTriPatch
HRESULT DrawTriPatch(UINT Handle, const(float)* pNumSegs, const(D3DTRIPATCH_INFO)* pTriPatchInfo)
Undocumented in source.
- DeletePatch
HRESULT DeletePatch(UINT Handle)
Undocumented in source.
- CreateQuery
HRESULT CreateQuery(D3DQUERYTYPE Type, IDirect3DQuery9* ppQuery)
Undocumented in source.
- SetConvolutionMonoKernel
HRESULT SetConvolutionMonoKernel(UINT width, UINT height, float* rows, float* columns)
Undocumented in source.
- ComposeRects
HRESULT ComposeRects(IDirect3DSurface9 pSrc, IDirect3DSurface9 pDst, IDirect3DVertexBuffer9 pSrcRectDescs, UINT NumRects, IDirect3DVertexBuffer9 pDstRectDescs, D3DCOMPOSERECTSOP Operation, int Xoffset, int Yoffset)
Undocumented in source.
- PresentEx
HRESULT PresentEx(const(RECT)* pSourceRect, const(RECT)* pDestRect, HWND hDestWindowOverride, const(RGNDATA)* pDirtyRegion, DWORD dwFlags)
Undocumented in source.
- GetGPUThreadPriority
HRESULT GetGPUThreadPriority(INT* pPriority)
Undocumented in source.
- SetGPUThreadPriority
HRESULT SetGPUThreadPriority(INT Priority)
Undocumented in source.
- WaitForVBlank
HRESULT WaitForVBlank(UINT iSwapChain)
Undocumented in source.
- CheckResourceResidency
HRESULT CheckResourceResidency(IDirect3DResource9* pResourceArray, UINT32 NumResources)
Undocumented in source.
- SetMaximumFrameLatency
HRESULT SetMaximumFrameLatency(UINT MaxLatency)
Undocumented in source.
- GetMaximumFrameLatency
HRESULT GetMaximumFrameLatency(UINT* pMaxLatency)
Undocumented in source.
- CheckDeviceState
HRESULT CheckDeviceState(HWND hDestinationWindow)
Undocumented in source.