LPDIRECT3DDEVICE9

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
version(Windows)
extern (C)
interface LPDIRECT3DDEVICE9 : IUnknown {}

Members

Functions

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

Meta