IDirect3DDevice8

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 IDirect3DDevice8 : IUnknown {}

Members

Functions

ApplyStateBlock
HRESULT ApplyStateBlock(DWORD Token)
Undocumented in source.
BeginScene
HRESULT BeginScene()
Undocumented in source.
BeginStateBlock
HRESULT BeginStateBlock()
Undocumented in source.
CaptureStateBlock
HRESULT CaptureStateBlock(DWORD Token)
Undocumented in source.
Clear
HRESULT Clear(DWORD Count, const(D3DRECT)* pRects, DWORD Flags, D3DCOLOR Color, float Z, DWORD Stencil)
Undocumented in source.
CopyRects
HRESULT CopyRects(IDirect3DSurface8 pSourceSurface, const(RECT)* pSourceRectsArray, UINT cRects, IDirect3DSurface8 pDestinationSurface, const(POINT)* pDestPointsArray)
Undocumented in source.
CreateAdditionalSwapChain
HRESULT CreateAdditionalSwapChain(D3DPRESENT_PARAMETERS* pPresentationParameters, IDirect3DSwapChain8* pSwapChain)
Undocumented in source.
CreateCubeTexture
HRESULT CreateCubeTexture(UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DCubeTexture8* ppCubeTexture)
Undocumented in source.
CreateDepthStencilSurface
HRESULT CreateDepthStencilSurface(UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, IDirect3DSurface8* ppSurface)
Undocumented in source.
CreateImageSurface
HRESULT CreateImageSurface(UINT Width, UINT Height, D3DFORMAT Format, IDirect3DSurface8* ppSurface)
Undocumented in source.
CreateIndexBuffer
HRESULT CreateIndexBuffer(UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer8* ppIndexBuffer)
Undocumented in source.
CreatePixelShader
HRESULT CreatePixelShader(const(DWORD)* pFunction, DWORD* pHandle)
Undocumented in source.
CreateRenderTarget
HRESULT CreateRenderTarget(UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, BOOL Lockable, IDirect3DSurface8* ppSurface)
Undocumented in source.
CreateStateBlock
HRESULT CreateStateBlock(D3DSTATEBLOCKTYPE Type, DWORD* pToken)
Undocumented in source.
CreateTexture
HRESULT CreateTexture(UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture8* ppTexture)
Undocumented in source.
CreateVertexBuffer
HRESULT CreateVertexBuffer(UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer8* ppVertexBuffer)
Undocumented in source.
CreateVertexShader
HRESULT CreateVertexShader(const(DWORD)* pDeclaration, const(DWORD)* pFunction, DWORD* pHandle, DWORD Usage)
Undocumented in source.
CreateVolumeTexture
HRESULT CreateVolumeTexture(UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DVolumeTexture8* ppVolumeTexture)
Undocumented in source.
DeletePatch
HRESULT DeletePatch(UINT Handle)
Undocumented in source.
DeletePixelShader
HRESULT DeletePixelShader(DWORD Handle)
Undocumented in source.
DeleteStateBlock
HRESULT DeleteStateBlock(DWORD Token)
Undocumented in source.
DeleteVertexShader
HRESULT DeleteVertexShader(DWORD Handle)
Undocumented in source.
DrawIndexedPrimitive
HRESULT DrawIndexedPrimitive(D3DPRIMITIVETYPE , UINT minIndex, UINT NumVertices, UINT startIndex, UINT primCount)
Undocumented in source.
DrawIndexedPrimitiveUP
HRESULT DrawIndexedPrimitiveUP(D3DPRIMITIVETYPE PrimitiveType, UINT MinVertexIndex, UINT NumVertexIndices, UINT PrimitiveCount, const(void)* pIndexData, D3DFORMAT IndexDataFormat, const(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, const(void)* pVertexStreamZeroData, UINT VertexStreamZeroStride)
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.
EndScene
HRESULT EndScene()
Undocumented in source.
EndStateBlock
HRESULT EndStateBlock(DWORD* pToken)
Undocumented in source.
GetAvailableTextureMem
UINT GetAvailableTextureMem()
Undocumented in source.
GetBackBuffer
HRESULT GetBackBuffer(UINT BackBuffer, D3DBACKBUFFER_TYPE Type, IDirect3DSurface8* ppBackBuffer)
Undocumented in source.
GetClipPlane
HRESULT GetClipPlane(DWORD Index, float* pPlane)
Undocumented in source.
GetClipStatus
HRESULT GetClipStatus(D3DCLIPSTATUS8* 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(IDirect3DSurface8* ppZStencilSurface)
Undocumented in source.
GetDeviceCaps
HRESULT GetDeviceCaps(D3DCAPS8* pCaps)
Undocumented in source.
GetDirect3D
HRESULT GetDirect3D(IDirect3D8* ppD3D8)
Undocumented in source.
GetDisplayMode
HRESULT GetDisplayMode(D3DDISPLAYMODE* pMode)
Undocumented in source.
GetFrontBuffer
HRESULT GetFrontBuffer(IDirect3DSurface8 pDestSurface)
Undocumented in source.
GetGammaRamp
void GetGammaRamp(D3DGAMMARAMP* pRamp)
Undocumented in source.
GetIndices
HRESULT GetIndices(IDirect3DIndexBuffer8* ppIndexData, UINT* pBaseVertexIndex)
Undocumented in source.
GetInfo
HRESULT GetInfo(DWORD DevInfoID, void* pDevInfoStruct, DWORD DevInfoStructSize)
Undocumented in source.
GetLight
HRESULT GetLight(DWORD Index, D3DLIGHT8* )
Undocumented in source.
GetLightEnable
HRESULT GetLightEnable(DWORD Index, BOOL* pEnable)
Undocumented in source.
GetMaterial
HRESULT GetMaterial(D3DMATERIAL8* pMaterial)
Undocumented in source.
GetPaletteEntries
HRESULT GetPaletteEntries(UINT PaletteNumber, PALETTEENTRY* pEntries)
Undocumented in source.
GetPixelShader
HRESULT GetPixelShader(DWORD* pHandle)
Undocumented in source.
GetPixelShaderConstant
HRESULT GetPixelShaderConstant(DWORD Register, void* pConstantData, DWORD ConstantCount)
Undocumented in source.
GetPixelShaderFunction
HRESULT GetPixelShaderFunction(DWORD Handle, void* pData, DWORD* pSizeOfData)
Undocumented in source.
GetRasterStatus
HRESULT GetRasterStatus(D3DRASTER_STATUS* pRasterStatus)
Undocumented in source.
GetRenderState
HRESULT GetRenderState(D3DRENDERSTATETYPE State, DWORD* pValue)
Undocumented in source.
GetRenderTarget
HRESULT GetRenderTarget(IDirect3DSurface8* ppRenderTarget)
Undocumented in source.
GetStreamSource
HRESULT GetStreamSource(UINT StreamNumber, IDirect3DVertexBuffer8* ppStreamData, UINT* pStride)
Undocumented in source.
GetTexture
HRESULT GetTexture(DWORD Stage, IDirect3DBaseTexture8* 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.
GetVertexShader
HRESULT GetVertexShader(DWORD* pHandle)
Undocumented in source.
GetVertexShaderConstant
HRESULT GetVertexShaderConstant(DWORD Register, void* pConstantData, DWORD ConstantCount)
Undocumented in source.
GetVertexShaderDeclaration
HRESULT GetVertexShaderDeclaration(DWORD Handle, void* pData, DWORD* pSizeOfData)
Undocumented in source.
GetVertexShaderFunction
HRESULT GetVertexShaderFunction(DWORD Handle, void* pData, DWORD* pSizeOfData)
Undocumented in source.
GetViewport
HRESULT GetViewport(D3DVIEWPORT8* pViewport)
Undocumented in source.
LightEnable
HRESULT LightEnable(DWORD Index, BOOL Enable)
Undocumented in source.
MultiplyTransform
HRESULT MultiplyTransform(D3DTRANSFORMSTATETYPE , const(D3DMATRIX)* )
Undocumented in source.
Present
HRESULT Present(const(RECT)* pSourceRect, const(RECT)* pDestRect, HWND hDestWindowOverride, const(RGNDATA)* pDirtyRegion)
Undocumented in source.
ProcessVertices
HRESULT ProcessVertices(UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer8 pDestBuffer, DWORD Flags)
Undocumented in source.
Reset
HRESULT Reset(D3DPRESENT_PARAMETERS* pPresentationParameters)
Undocumented in source.
ResourceManagerDiscardBytes
HRESULT ResourceManagerDiscardBytes(DWORD Bytes)
Undocumented in source.
SetClipPlane
HRESULT SetClipPlane(DWORD Index, const(float)* pPlane)
Undocumented in source.
SetClipStatus
HRESULT SetClipStatus(const(D3DCLIPSTATUS8)* 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, IDirect3DSurface8 pCursorBitmap)
Undocumented in source.
SetGammaRamp
void SetGammaRamp(DWORD Flags, const(D3DGAMMARAMP)* pRamp)
Undocumented in source.
SetIndices
HRESULT SetIndices(IDirect3DIndexBuffer8 pIndexData, UINT BaseVertexIndex)
Undocumented in source.
SetLight
HRESULT SetLight(DWORD Index, const(D3DLIGHT8)* )
Undocumented in source.
SetMaterial
HRESULT SetMaterial(const(D3DMATERIAL8)* pMaterial)
Undocumented in source.
SetPaletteEntries
HRESULT SetPaletteEntries(UINT PaletteNumber, const(PALETTEENTRY)* pEntries)
Undocumented in source.
SetPixelShader
HRESULT SetPixelShader(DWORD Handle)
Undocumented in source.
SetPixelShaderConstant
HRESULT SetPixelShaderConstant(DWORD Register, const(void)* pConstantData, DWORD ConstantCount)
Undocumented in source.
SetRenderState
HRESULT SetRenderState(D3DRENDERSTATETYPE State, DWORD Value)
Undocumented in source.
SetRenderTarget
HRESULT SetRenderTarget(IDirect3DSurface8 pRenderTarget, IDirect3DSurface8 pNewZStencil)
Undocumented in source.
SetStreamSource
HRESULT SetStreamSource(UINT StreamNumber, IDirect3DVertexBuffer8 pStreamData, UINT Stride)
Undocumented in source.
SetTexture
HRESULT SetTexture(DWORD Stage, IDirect3DBaseTexture8 pTexture)
Undocumented in source.
SetTextureStageState
HRESULT SetTextureStageState(DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD Value)
Undocumented in source.
SetTransform
HRESULT SetTransform(D3DTRANSFORMSTATETYPE State, const(D3DMATRIX)* pMatrix)
Undocumented in source.
SetVertexShader
HRESULT SetVertexShader(DWORD Handle)
Undocumented in source.
SetVertexShaderConstant
HRESULT SetVertexShaderConstant(DWORD Register, const(void)* pConstantData, DWORD ConstantCount)
Undocumented in source.
SetViewport
HRESULT SetViewport(const(D3DVIEWPORT8)* pViewport)
Undocumented in source.
ShowCursor
BOOL ShowCursor(BOOL bShow)
Undocumented in source.
TestCooperativeLevel
HRESULT TestCooperativeLevel()
Undocumented in source.
UpdateTexture
HRESULT UpdateTexture(IDirect3DBaseTexture8 pSourceTexture, IDirect3DBaseTexture8 pDestinationTexture)
Undocumented in source.
ValidateDevice
HRESULT ValidateDevice(DWORD* pNumPasses)
Undocumented in source.

Meta