[−][src]Struct winapi::shared::d3d9::IDirect3DDevice9Vtbl
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 Send for IDirect3DDevice9Vtbl
impl Sync for IDirect3DDevice9Vtbl
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,