#[repr(C)]pub struct IDirect3DDevice9Vtbl {Show 117 fields
pub parent: IUnknownVtbl,
pub TestCooperativeLevel: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT,
pub GetAvailableTextureMem: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> UINT,
pub EvictManagedResources: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT,
pub GetDirect3D: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppD3D9: *mut *mut IDirect3D9) -> HRESULT,
pub GetDeviceCaps: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pCaps: *mut D3DCAPS9) -> HRESULT,
pub GetDisplayMode: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pMode: *mut D3DDISPLAYMODE) -> HRESULT,
pub GetCreationParameters: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pParameters: *mut D3DDEVICE_CREATION_PARAMETERS) -> HRESULT,
pub SetCursorProperties: unsafe extern "system" fn(This: *mut IDirect3DDevice9, XHotSpot: UINT, YHotSpot: UINT, pCursorBitmap: *mut IDirect3DSurface9) -> HRESULT,
pub SetCursorPosition: unsafe extern "system" fn(This: *mut IDirect3DDevice9, X: INT, Y: INT, Flags: DWORD),
pub ShowCursor: unsafe extern "system" fn(This: *mut IDirect3DDevice9, bShow: BOOL) -> BOOL,
pub CreateAdditionalSwapChain: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pPresentationParameters: *mut D3DPRESENT_PARAMETERS, pSwapChain: *mut *mut IDirect3DSwapChain9) -> HRESULT,
pub GetSwapChain: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pSwapChain: *mut *mut IDirect3DSwapChain9) -> HRESULT,
pub GetNumberOfSwapChains: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> UINT,
pub Reset: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pPresentationParameters: *mut D3DPRESENT_PARAMETERS) -> HRESULT,
pub Present: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSourceRect: *const RECT, pDestRect: *const RECT, hDestWindowOverride: HWND, pDirtyRegion: *const RGNDATA) -> HRESULT,
pub GetBackBuffer: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, iBackBuffer: UINT, Type: D3DBACKBUFFER_TYPE, ppBackBuffer: *mut *mut IDirect3DSurface9) -> HRESULT,
pub GetRasterStatus: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pRasterStatus: *mut D3DRASTER_STATUS) -> HRESULT,
pub SetDialogBoxMode: unsafe extern "system" fn(This: *mut IDirect3DDevice9, bEnableDialogs: BOOL) -> HRESULT,
pub SetGammaRamp: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, Flags: DWORD, pRamp: *const D3DGAMMARAMP),
pub GetGammaRamp: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pRamp: *mut D3DGAMMARAMP),
pub CreateTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppTexture: *mut *mut IDirect3DTexture9, pSharedHandle: *mut HANDLE) -> HRESULT,
pub CreateVolumeTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Depth: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppVolumeTexture: *mut *mut IDirect3DVolumeTexture9, pSharedHandle: *mut HANDLE) -> HRESULT,
pub CreateCubeTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, EdgeLength: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppCubeTexture: *mut *mut IDirect3DCubeTexture9, pSharedHandle: *mut HANDLE) -> HRESULT,
pub CreateVertexBuffer: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Length: UINT, Usage: DWORD, FVF: DWORD, Pool: D3DPOOL, ppVertexBuffer: *mut *mut IDirect3DVertexBuffer9, pSharedHandle: *mut HANDLE) -> HRESULT,
pub CreateIndexBuffer: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Length: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppIndexBuffer: *mut *mut IDirect3DIndexBuffer9, pSharedHandle: *mut HANDLE) -> HRESULT,
pub CreateRenderTarget: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Format: D3DFORMAT, MultiSample: D3DMULTISAMPLE_TYPE, MultisampleQuality: DWORD, Lockable: BOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE) -> HRESULT,
pub CreateDepthStencilSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Format: D3DFORMAT, MultiSample: D3DMULTISAMPLE_TYPE, MultisampleQuality: DWORD, Discard: BOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE) -> HRESULT,
pub UpdateSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSourceSurface: *mut IDirect3DSurface9, pSourceRect: *const RECT, pDestinationSurface: *mut IDirect3DSurface9, pDestPoint: *const POINT) -> HRESULT,
pub UpdateTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSourceTexture: *mut IDirect3DBaseTexture9, pDestinationTexture: *mut IDirect3DBaseTexture9) -> HRESULT,
pub GetRenderTargetData: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pRenderTarget: *mut IDirect3DSurface9, pDestSurface: *mut IDirect3DSurface9) -> HRESULT,
pub GetFrontBufferData: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pDestSurface: *mut IDirect3DSurface9) -> HRESULT,
pub StretchRect: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSourceSurface: *mut IDirect3DSurface9, pSourceRect: *const RECT, pDestSurface: *mut IDirect3DSurface9, pDestRect: *const RECT, Filter: D3DTEXTUREFILTERTYPE) -> HRESULT,
pub ColorFill: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSurface: *mut IDirect3DSurface9, pRect: *const RECT, color: D3DCOLOR) -> HRESULT,
pub CreateOffscreenPlainSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Format: D3DFORMAT, Pool: D3DPOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE) -> HRESULT,
pub SetRenderTarget: unsafe extern "system" fn(This: *mut IDirect3DDevice9, RenderTargetIndex: DWORD, pRenderTarget: *mut IDirect3DSurface9) -> HRESULT,
pub GetRenderTarget: unsafe extern "system" fn(This: *mut IDirect3DDevice9, RenderTargetIndex: DWORD, ppRenderTarget: *mut *mut IDirect3DSurface9) -> HRESULT,
pub SetDepthStencilSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pNewZStencil: *mut IDirect3DSurface9) -> HRESULT,
pub GetDepthStencilSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppZStencilSurface: *mut *mut IDirect3DSurface9) -> HRESULT,
pub BeginScene: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT,
pub EndScene: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT,
pub Clear: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Count: DWORD, pRects: *const D3DRECT, Flags: DWORD, Color: D3DCOLOR, Z: FLOAT, Stencil: DWORD) -> HRESULT,
pub SetTransform: unsafe extern "system" fn(This: *mut IDirect3DDevice9, State: D3DTRANSFORMSTATETYPE, pMatrix: *const D3DMATRIX) -> HRESULT,
pub GetTransform: unsafe extern "system" fn(This: *mut IDirect3DDevice9, State: D3DTRANSFORMSTATETYPE, pMatrix: *mut D3DMATRIX) -> HRESULT,
pub MultiplyTransform: unsafe extern "system" fn(This: *mut IDirect3DDevice9, arg1: D3DTRANSFORMSTATETYPE, arg2: *const D3DMATRIX) -> HRESULT,
pub SetViewport: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pViewport: *const D3DVIEWPORT9) -> HRESULT,
pub GetViewport: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pViewport: *mut D3DVIEWPORT9) -> HRESULT,
pub SetMaterial: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pMaterial: *const D3DMATERIAL9) -> HRESULT,
pub GetMaterial: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pMaterial: *mut D3DMATERIAL9) -> HRESULT,
pub SetLight: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, arg1: *const D3DLIGHT9) -> HRESULT,
pub GetLight: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, arg1: *mut D3DLIGHT9) -> HRESULT,
pub LightEnable: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, Enable: BOOL) -> HRESULT,
pub GetLightEnable: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, pEnable: *mut BOOL) -> HRESULT,
pub SetClipPlane: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, pPlane: *const FLOAT) -> HRESULT,
pub GetClipPlane: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, pPlane: *mut FLOAT) -> HRESULT,
pub SetRenderState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, State: D3DRENDERSTATETYPE, Value: DWORD) -> HRESULT,
pub GetRenderState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, State: D3DRENDERSTATETYPE, pValue: *mut DWORD) -> HRESULT,
pub CreateStateBlock: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Type: D3DSTATEBLOCKTYPE, ppSB: *mut *mut IDirect3DStateBlock9) -> HRESULT,
pub BeginStateBlock: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT,
pub EndStateBlock: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppSB: *mut *mut IDirect3DStateBlock9) -> HRESULT,
pub SetClipStatus: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pClipStatus: *const D3DCLIPSTATUS9) -> HRESULT,
pub GetClipStatus: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pClipStatus: *mut D3DCLIPSTATUS9) -> HRESULT,
pub GetTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Stage: DWORD, ppTexture: *mut *mut IDirect3DBaseTexture9) -> HRESULT,
pub SetTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Stage: DWORD, pTexture: *mut IDirect3DBaseTexture9) -> HRESULT,
pub GetTextureStageState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Stage: DWORD, Type: D3DTEXTURESTAGESTATETYPE, pValue: *mut DWORD) -> HRESULT,
pub SetTextureStageState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Stage: DWORD, Type: D3DTEXTURESTAGESTATETYPE, Value: DWORD) -> HRESULT,
pub GetSamplerState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Sampler: DWORD, Type: D3DSAMPLERSTATETYPE, pValue: *mut DWORD) -> HRESULT,
pub SetSamplerState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Sampler: DWORD, Type: D3DSAMPLERSTATETYPE, Value: DWORD) -> HRESULT,
pub ValidateDevice: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pNumPasses: *mut DWORD) -> HRESULT,
pub SetPaletteEntries: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PaletteNumber: UINT, pEntries: *const PALETTEENTRY) -> HRESULT,
pub GetPaletteEntries: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PaletteNumber: UINT, pEntries: *mut PALETTEENTRY) -> HRESULT,
pub SetCurrentTexturePalette: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PaletteNumber: UINT) -> HRESULT,
pub GetCurrentTexturePalette: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PaletteNumber: *mut UINT) -> HRESULT,
pub SetScissorRect: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pRect: *const RECT) -> HRESULT,
pub GetScissorRect: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pRect: *mut RECT) -> HRESULT,
pub SetSoftwareVertexProcessing: unsafe extern "system" fn(This: *mut IDirect3DDevice9, bSoftware: BOOL) -> HRESULT,
pub GetSoftwareVertexProcessing: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> BOOL,
pub SetNPatchMode: unsafe extern "system" fn(This: *mut IDirect3DDevice9, nSegments: FLOAT) -> HRESULT,
pub GetNPatchMode: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> FLOAT,
pub DrawPrimitive: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PrimitiveType: D3DPRIMITIVETYPE, StartVertex: UINT, PrimitiveCount: UINT) -> HRESULT,
pub DrawIndexedPrimitive: unsafe extern "system" fn(This: *mut IDirect3DDevice9, arg1: D3DPRIMITIVETYPE, BaseVertexIndex: INT, MinVertexIndex: UINT, NumVertices: UINT, startIndex: UINT, primCount: UINT) -> HRESULT,
pub DrawPrimitiveUP: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PrimitiveType: D3DPRIMITIVETYPE, PrimitiveCount: UINT, pVertexStreamZeroData: *const VOID, VertexStreamZeroStride: UINT) -> HRESULT,
pub DrawIndexedPrimitiveUP: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PrimitiveType: D3DPRIMITIVETYPE, MinVertexIndex: UINT, NumVertices: UINT, PrimitiveCount: UINT, pIndexData: *const VOID, IndexDataFormat: D3DFORMAT, pVertexStreamZeroData: *const VOID, VertexStreamZeroStride: UINT) -> HRESULT,
pub ProcessVertices: unsafe extern "system" fn(This: *mut IDirect3DDevice9, SrcStartIndex: UINT, DestIndex: UINT, VertexCount: UINT, pDestBuffer: *mut IDirect3DVertexBuffer9, pVertexDecl: *mut IDirect3DVertexDeclaration9, Flags: DWORD) -> HRESULT,
pub CreateVertexDeclaration: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pVertexElements: *const D3DVERTEXELEMENT9, ppDecl: *mut *mut IDirect3DVertexDeclaration9) -> HRESULT,
pub SetVertexDeclaration: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pDecl: *mut IDirect3DVertexDeclaration9) -> HRESULT,
pub GetVertexDeclaration: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppDecl: *mut *mut IDirect3DVertexDeclaration9) -> HRESULT,
pub SetFVF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, FVF: DWORD) -> HRESULT,
pub GetFVF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pFVF: *mut DWORD) -> HRESULT,
pub CreateVertexShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pFunction: *const DWORD, ppShader: *mut *mut IDirect3DVertexShader9) -> HRESULT,
pub SetVertexShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pShader: *mut IDirect3DVertexShader9) -> HRESULT,
pub GetVertexShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppShader: *mut *mut IDirect3DVertexShader9) -> HRESULT,
pub SetVertexShaderConstantF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const FLOAT, Vector4fCount: UINT) -> HRESULT,
pub GetVertexShaderConstantF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut FLOAT, Vector4fCount: UINT) -> HRESULT,
pub SetVertexShaderConstantI: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const INT, Vector4iCount: UINT) -> HRESULT,
pub GetVertexShaderConstantI: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut INT, Vector4iCount: UINT) -> HRESULT,
pub SetVertexShaderConstantB: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const BOOL, BoolCount: UINT) -> HRESULT,
pub GetVertexShaderConstantB: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut BOOL, BoolCount: UINT) -> HRESULT,
pub SetStreamSource: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StreamNumber: UINT, pStreamData: *mut IDirect3DVertexBuffer9, OffsetInBytes: UINT, Stride: UINT) -> HRESULT,
pub GetStreamSource: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StreamNumber: UINT, ppStreamData: *mut *mut IDirect3DVertexBuffer9, pOffsetInBytes: *mut UINT, pStride: *mut UINT) -> HRESULT,
pub SetStreamSourceFreq: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StreamNumber: UINT, Setting: UINT) -> HRESULT,
pub GetStreamSourceFreq: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StreamNumber: UINT, pSetting: *mut UINT) -> HRESULT,
pub SetIndices: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pIndexData: *mut IDirect3DIndexBuffer9) -> HRESULT,
pub GetIndices: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppIndexData: *mut *mut IDirect3DIndexBuffer9) -> HRESULT,
pub CreatePixelShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pFunction: *const DWORD, ppShader: *mut *mut IDirect3DPixelShader9) -> HRESULT,
pub SetPixelShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pShader: *mut IDirect3DPixelShader9) -> HRESULT,
pub GetPixelShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppShader: *mut *mut IDirect3DPixelShader9) -> HRESULT,
pub SetPixelShaderConstantF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const FLOAT, Vector4fCount: UINT) -> HRESULT,
pub GetPixelShaderConstantF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut FLOAT, Vector4fCount: UINT) -> HRESULT,
pub SetPixelShaderConstantI: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const INT, Vector4iCount: UINT) -> HRESULT,
pub GetPixelShaderConstantI: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut INT, Vector4iCount: UINT) -> HRESULT,
pub SetPixelShaderConstantB: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const BOOL, BoolCount: UINT) -> HRESULT,
pub GetPixelShaderConstantB: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut BOOL, BoolCount: UINT) -> HRESULT,
pub DrawRectPatch: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Handle: UINT, pNumSegs: *const FLOAT, pRectPatchInfo: *const D3DRECTPATCH_INFO) -> HRESULT,
pub DrawTriPatch: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Handle: UINT, pNumSegs: *const FLOAT, pTriPatchInfo: *const D3DTRIPATCH_INFO) -> HRESULT,
pub DeletePatch: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Handle: UINT) -> HRESULT,
pub CreateQuery: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Type: D3DQUERYTYPE, ppQuery: *mut *mut IDirect3DQuery9) -> HRESULT,
}
Fields§
§parent: IUnknownVtbl
§TestCooperativeLevel: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT
§GetAvailableTextureMem: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> UINT
§EvictManagedResources: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT
§GetDirect3D: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppD3D9: *mut *mut IDirect3D9) -> HRESULT
§GetDeviceCaps: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pCaps: *mut D3DCAPS9) -> HRESULT
§GetDisplayMode: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pMode: *mut D3DDISPLAYMODE) -> HRESULT
§GetCreationParameters: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pParameters: *mut D3DDEVICE_CREATION_PARAMETERS) -> HRESULT
§SetCursorProperties: unsafe extern "system" fn(This: *mut IDirect3DDevice9, XHotSpot: UINT, YHotSpot: UINT, pCursorBitmap: *mut IDirect3DSurface9) -> HRESULT
§SetCursorPosition: unsafe extern "system" fn(This: *mut IDirect3DDevice9, X: INT, Y: INT, Flags: DWORD)
§ShowCursor: unsafe extern "system" fn(This: *mut IDirect3DDevice9, bShow: BOOL) -> BOOL
§CreateAdditionalSwapChain: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pPresentationParameters: *mut D3DPRESENT_PARAMETERS, pSwapChain: *mut *mut IDirect3DSwapChain9) -> HRESULT
§GetSwapChain: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pSwapChain: *mut *mut IDirect3DSwapChain9) -> HRESULT
§GetNumberOfSwapChains: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> UINT
§Reset: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pPresentationParameters: *mut D3DPRESENT_PARAMETERS) -> HRESULT
§Present: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSourceRect: *const RECT, pDestRect: *const RECT, hDestWindowOverride: HWND, pDirtyRegion: *const RGNDATA) -> HRESULT
§GetBackBuffer: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, iBackBuffer: UINT, Type: D3DBACKBUFFER_TYPE, ppBackBuffer: *mut *mut IDirect3DSurface9) -> HRESULT
§GetRasterStatus: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pRasterStatus: *mut D3DRASTER_STATUS) -> HRESULT
§SetDialogBoxMode: unsafe extern "system" fn(This: *mut IDirect3DDevice9, bEnableDialogs: BOOL) -> HRESULT
§SetGammaRamp: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, Flags: DWORD, pRamp: *const D3DGAMMARAMP)
§GetGammaRamp: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pRamp: *mut D3DGAMMARAMP)
§CreateTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppTexture: *mut *mut IDirect3DTexture9, pSharedHandle: *mut HANDLE) -> HRESULT
§CreateVolumeTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Depth: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppVolumeTexture: *mut *mut IDirect3DVolumeTexture9, pSharedHandle: *mut HANDLE) -> HRESULT
§CreateCubeTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, EdgeLength: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppCubeTexture: *mut *mut IDirect3DCubeTexture9, pSharedHandle: *mut HANDLE) -> HRESULT
§CreateVertexBuffer: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Length: UINT, Usage: DWORD, FVF: DWORD, Pool: D3DPOOL, ppVertexBuffer: *mut *mut IDirect3DVertexBuffer9, pSharedHandle: *mut HANDLE) -> HRESULT
§CreateIndexBuffer: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Length: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppIndexBuffer: *mut *mut IDirect3DIndexBuffer9, pSharedHandle: *mut HANDLE) -> HRESULT
§CreateRenderTarget: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Format: D3DFORMAT, MultiSample: D3DMULTISAMPLE_TYPE, MultisampleQuality: DWORD, Lockable: BOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE) -> HRESULT
§CreateDepthStencilSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Format: D3DFORMAT, MultiSample: D3DMULTISAMPLE_TYPE, MultisampleQuality: DWORD, Discard: BOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE) -> HRESULT
§UpdateSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSourceSurface: *mut IDirect3DSurface9, pSourceRect: *const RECT, pDestinationSurface: *mut IDirect3DSurface9, pDestPoint: *const POINT) -> HRESULT
§UpdateTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSourceTexture: *mut IDirect3DBaseTexture9, pDestinationTexture: *mut IDirect3DBaseTexture9) -> HRESULT
§GetRenderTargetData: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pRenderTarget: *mut IDirect3DSurface9, pDestSurface: *mut IDirect3DSurface9) -> HRESULT
§GetFrontBufferData: unsafe extern "system" fn(This: *mut IDirect3DDevice9, iSwapChain: UINT, pDestSurface: *mut IDirect3DSurface9) -> HRESULT
§StretchRect: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSourceSurface: *mut IDirect3DSurface9, pSourceRect: *const RECT, pDestSurface: *mut IDirect3DSurface9, pDestRect: *const RECT, Filter: D3DTEXTUREFILTERTYPE) -> HRESULT
§ColorFill: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pSurface: *mut IDirect3DSurface9, pRect: *const RECT, color: D3DCOLOR) -> HRESULT
§CreateOffscreenPlainSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Width: UINT, Height: UINT, Format: D3DFORMAT, Pool: D3DPOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE) -> HRESULT
§SetRenderTarget: unsafe extern "system" fn(This: *mut IDirect3DDevice9, RenderTargetIndex: DWORD, pRenderTarget: *mut IDirect3DSurface9) -> HRESULT
§GetRenderTarget: unsafe extern "system" fn(This: *mut IDirect3DDevice9, RenderTargetIndex: DWORD, ppRenderTarget: *mut *mut IDirect3DSurface9) -> HRESULT
§SetDepthStencilSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pNewZStencil: *mut IDirect3DSurface9) -> HRESULT
§GetDepthStencilSurface: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppZStencilSurface: *mut *mut IDirect3DSurface9) -> HRESULT
§BeginScene: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT
§EndScene: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT
§Clear: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Count: DWORD, pRects: *const D3DRECT, Flags: DWORD, Color: D3DCOLOR, Z: FLOAT, Stencil: DWORD) -> HRESULT
§SetTransform: unsafe extern "system" fn(This: *mut IDirect3DDevice9, State: D3DTRANSFORMSTATETYPE, pMatrix: *const D3DMATRIX) -> HRESULT
§GetTransform: unsafe extern "system" fn(This: *mut IDirect3DDevice9, State: D3DTRANSFORMSTATETYPE, pMatrix: *mut D3DMATRIX) -> HRESULT
§MultiplyTransform: unsafe extern "system" fn(This: *mut IDirect3DDevice9, arg1: D3DTRANSFORMSTATETYPE, arg2: *const D3DMATRIX) -> HRESULT
§SetViewport: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pViewport: *const D3DVIEWPORT9) -> HRESULT
§GetViewport: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pViewport: *mut D3DVIEWPORT9) -> HRESULT
§SetMaterial: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pMaterial: *const D3DMATERIAL9) -> HRESULT
§GetMaterial: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pMaterial: *mut D3DMATERIAL9) -> HRESULT
§SetLight: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, arg1: *const D3DLIGHT9) -> HRESULT
§GetLight: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, arg1: *mut D3DLIGHT9) -> HRESULT
§LightEnable: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, Enable: BOOL) -> HRESULT
§GetLightEnable: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, pEnable: *mut BOOL) -> HRESULT
§SetClipPlane: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, pPlane: *const FLOAT) -> HRESULT
§GetClipPlane: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Index: DWORD, pPlane: *mut FLOAT) -> HRESULT
§SetRenderState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, State: D3DRENDERSTATETYPE, Value: DWORD) -> HRESULT
§GetRenderState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, State: D3DRENDERSTATETYPE, pValue: *mut DWORD) -> HRESULT
§CreateStateBlock: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Type: D3DSTATEBLOCKTYPE, ppSB: *mut *mut IDirect3DStateBlock9) -> HRESULT
§BeginStateBlock: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> HRESULT
§EndStateBlock: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppSB: *mut *mut IDirect3DStateBlock9) -> HRESULT
§SetClipStatus: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pClipStatus: *const D3DCLIPSTATUS9) -> HRESULT
§GetClipStatus: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pClipStatus: *mut D3DCLIPSTATUS9) -> HRESULT
§GetTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Stage: DWORD, ppTexture: *mut *mut IDirect3DBaseTexture9) -> HRESULT
§SetTexture: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Stage: DWORD, pTexture: *mut IDirect3DBaseTexture9) -> HRESULT
§GetTextureStageState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Stage: DWORD, Type: D3DTEXTURESTAGESTATETYPE, pValue: *mut DWORD) -> HRESULT
§SetTextureStageState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Stage: DWORD, Type: D3DTEXTURESTAGESTATETYPE, Value: DWORD) -> HRESULT
§GetSamplerState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Sampler: DWORD, Type: D3DSAMPLERSTATETYPE, pValue: *mut DWORD) -> HRESULT
§SetSamplerState: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Sampler: DWORD, Type: D3DSAMPLERSTATETYPE, Value: DWORD) -> HRESULT
§ValidateDevice: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pNumPasses: *mut DWORD) -> HRESULT
§SetPaletteEntries: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PaletteNumber: UINT, pEntries: *const PALETTEENTRY) -> HRESULT
§GetPaletteEntries: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PaletteNumber: UINT, pEntries: *mut PALETTEENTRY) -> HRESULT
§SetCurrentTexturePalette: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PaletteNumber: UINT) -> HRESULT
§GetCurrentTexturePalette: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PaletteNumber: *mut UINT) -> HRESULT
§SetScissorRect: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pRect: *const RECT) -> HRESULT
§GetScissorRect: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pRect: *mut RECT) -> HRESULT
§SetSoftwareVertexProcessing: unsafe extern "system" fn(This: *mut IDirect3DDevice9, bSoftware: BOOL) -> HRESULT
§GetSoftwareVertexProcessing: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> BOOL
§SetNPatchMode: unsafe extern "system" fn(This: *mut IDirect3DDevice9, nSegments: FLOAT) -> HRESULT
§GetNPatchMode: unsafe extern "system" fn(This: *mut IDirect3DDevice9) -> FLOAT
§DrawPrimitive: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PrimitiveType: D3DPRIMITIVETYPE, StartVertex: UINT, PrimitiveCount: UINT) -> HRESULT
§DrawIndexedPrimitive: unsafe extern "system" fn(This: *mut IDirect3DDevice9, arg1: D3DPRIMITIVETYPE, BaseVertexIndex: INT, MinVertexIndex: UINT, NumVertices: UINT, startIndex: UINT, primCount: UINT) -> HRESULT
§DrawPrimitiveUP: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PrimitiveType: D3DPRIMITIVETYPE, PrimitiveCount: UINT, pVertexStreamZeroData: *const VOID, VertexStreamZeroStride: UINT) -> HRESULT
§DrawIndexedPrimitiveUP: unsafe extern "system" fn(This: *mut IDirect3DDevice9, PrimitiveType: D3DPRIMITIVETYPE, MinVertexIndex: UINT, NumVertices: UINT, PrimitiveCount: UINT, pIndexData: *const VOID, IndexDataFormat: D3DFORMAT, pVertexStreamZeroData: *const VOID, VertexStreamZeroStride: UINT) -> HRESULT
§ProcessVertices: unsafe extern "system" fn(This: *mut IDirect3DDevice9, SrcStartIndex: UINT, DestIndex: UINT, VertexCount: UINT, pDestBuffer: *mut IDirect3DVertexBuffer9, pVertexDecl: *mut IDirect3DVertexDeclaration9, Flags: DWORD) -> HRESULT
§CreateVertexDeclaration: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pVertexElements: *const D3DVERTEXELEMENT9, ppDecl: *mut *mut IDirect3DVertexDeclaration9) -> HRESULT
§SetVertexDeclaration: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pDecl: *mut IDirect3DVertexDeclaration9) -> HRESULT
§GetVertexDeclaration: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppDecl: *mut *mut IDirect3DVertexDeclaration9) -> HRESULT
§SetFVF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, FVF: DWORD) -> HRESULT
§GetFVF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pFVF: *mut DWORD) -> HRESULT
§CreateVertexShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pFunction: *const DWORD, ppShader: *mut *mut IDirect3DVertexShader9) -> HRESULT
§SetVertexShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pShader: *mut IDirect3DVertexShader9) -> HRESULT
§GetVertexShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppShader: *mut *mut IDirect3DVertexShader9) -> HRESULT
§SetVertexShaderConstantF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const FLOAT, Vector4fCount: UINT) -> HRESULT
§GetVertexShaderConstantF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut FLOAT, Vector4fCount: UINT) -> HRESULT
§SetVertexShaderConstantI: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const INT, Vector4iCount: UINT) -> HRESULT
§GetVertexShaderConstantI: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut INT, Vector4iCount: UINT) -> HRESULT
§SetVertexShaderConstantB: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const BOOL, BoolCount: UINT) -> HRESULT
§GetVertexShaderConstantB: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut BOOL, BoolCount: UINT) -> HRESULT
§SetStreamSource: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StreamNumber: UINT, pStreamData: *mut IDirect3DVertexBuffer9, OffsetInBytes: UINT, Stride: UINT) -> HRESULT
§GetStreamSource: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StreamNumber: UINT, ppStreamData: *mut *mut IDirect3DVertexBuffer9, pOffsetInBytes: *mut UINT, pStride: *mut UINT) -> HRESULT
§SetStreamSourceFreq: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StreamNumber: UINT, Setting: UINT) -> HRESULT
§GetStreamSourceFreq: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StreamNumber: UINT, pSetting: *mut UINT) -> HRESULT
§SetIndices: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pIndexData: *mut IDirect3DIndexBuffer9) -> HRESULT
§GetIndices: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppIndexData: *mut *mut IDirect3DIndexBuffer9) -> HRESULT
§CreatePixelShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pFunction: *const DWORD, ppShader: *mut *mut IDirect3DPixelShader9) -> HRESULT
§SetPixelShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, pShader: *mut IDirect3DPixelShader9) -> HRESULT
§GetPixelShader: unsafe extern "system" fn(This: *mut IDirect3DDevice9, ppShader: *mut *mut IDirect3DPixelShader9) -> HRESULT
§SetPixelShaderConstantF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const FLOAT, Vector4fCount: UINT) -> HRESULT
§GetPixelShaderConstantF: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut FLOAT, Vector4fCount: UINT) -> HRESULT
§SetPixelShaderConstantI: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const INT, Vector4iCount: UINT) -> HRESULT
§GetPixelShaderConstantI: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut INT, Vector4iCount: UINT) -> HRESULT
§SetPixelShaderConstantB: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *const BOOL, BoolCount: UINT) -> HRESULT
§GetPixelShaderConstantB: unsafe extern "system" fn(This: *mut IDirect3DDevice9, StartRegister: UINT, pConstantData: *mut BOOL, BoolCount: UINT) -> HRESULT
§DrawRectPatch: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Handle: UINT, pNumSegs: *const FLOAT, pRectPatchInfo: *const D3DRECTPATCH_INFO) -> HRESULT
§DrawTriPatch: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Handle: UINT, pNumSegs: *const FLOAT, pTriPatchInfo: *const D3DTRIPATCH_INFO) -> HRESULT
§DeletePatch: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Handle: UINT) -> HRESULT
§CreateQuery: unsafe extern "system" fn(This: *mut IDirect3DDevice9, Type: D3DQUERYTYPE, ppQuery: *mut *mut IDirect3DQuery9) -> HRESULT
Auto Trait Implementations§
impl Freeze for IDirect3DDevice9Vtbl
impl RefUnwindSafe for IDirect3DDevice9Vtbl
impl Send for IDirect3DDevice9Vtbl
impl Sync for IDirect3DDevice9Vtbl
impl Unpin for IDirect3DDevice9Vtbl
impl UnwindSafe for IDirect3DDevice9Vtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more