Struct windows::Win32::Graphics::Direct3D9::IDirect3DDevice9_Vtbl
#[repr(C)]pub struct IDirect3DDevice9_Vtbl {Show 117 fields
pub base__: IUnknown_Vtbl,
pub TestCooperativeLevel: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetAvailableTextureMem: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub EvictManagedResources: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetDirect3D: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetDeviceCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DCAPS9) -> HRESULT,
pub GetDisplayMode: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DDISPLAYMODE) -> HRESULT,
pub GetCreationParameters: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DDEVICE_CREATION_PARAMETERS) -> HRESULT,
pub SetCursorProperties: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut c_void) -> HRESULT,
pub SetCursorPosition: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: u32),
pub ShowCursor: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> BOOL,
pub CreateAdditionalSwapChain: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DPRESENT_PARAMETERS, _: *mut *mut c_void) -> HRESULT,
pub GetSwapChain: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT,
pub GetNumberOfSwapChains: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub Reset: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DPRESENT_PARAMETERS) -> HRESULT,
pub Present: unsafe extern "system" fn(_: *mut c_void, _: *const RECT, _: *const RECT, _: HWND, _: *const RGNDATA) -> HRESULT,
pub GetBackBuffer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DBACKBUFFER_TYPE, _: *mut *mut c_void) -> HRESULT,
pub GetRasterStatus: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DRASTER_STATUS) -> HRESULT,
pub SetDialogBoxMode: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub SetGammaRamp: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const D3DGAMMARAMP),
pub GetGammaRamp: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DGAMMARAMP),
pub CreateTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT,
pub CreateVolumeTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT,
pub CreateCubeTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT,
pub CreateVertexBuffer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT,
pub CreateIndexBuffer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT,
pub CreateRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DFORMAT, _: D3DMULTISAMPLE_TYPE, _: u32, _: BOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT,
pub CreateDepthStencilSurface: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DFORMAT, _: D3DMULTISAMPLE_TYPE, _: u32, _: BOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT,
pub UpdateSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const RECT, _: *mut c_void, _: *const POINT) -> HRESULT,
pub UpdateTexture: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetRenderTargetData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetFrontBufferData: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT,
pub StretchRect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const RECT, _: *mut c_void, _: *const RECT, _: D3DTEXTUREFILTERTYPE) -> HRESULT,
pub ColorFill: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const RECT, _: u32) -> HRESULT,
pub CreateOffscreenPlainSurface: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT,
pub SetRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT,
pub GetRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT,
pub SetDepthStencilSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetDepthStencilSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub BeginScene: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub EndScene: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Clear: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3DRECT, _: u32, _: u32, _: f32, _: u32) -> HRESULT,
pub SetTransform: unsafe extern "system" fn(_: *mut c_void, _: D3DTRANSFORMSTATETYPE, _: *const Matrix4x4) -> HRESULT,
pub GetTransform: unsafe extern "system" fn(_: *mut c_void, _: D3DTRANSFORMSTATETYPE, _: *mut Matrix4x4) -> HRESULT,
pub MultiplyTransform: unsafe extern "system" fn(_: *mut c_void, _: D3DTRANSFORMSTATETYPE, _: *const Matrix4x4) -> HRESULT,
pub SetViewport: unsafe extern "system" fn(_: *mut c_void, _: *const D3DVIEWPORT9) -> HRESULT,
pub GetViewport: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DVIEWPORT9) -> HRESULT,
pub SetMaterial: unsafe extern "system" fn(_: *mut c_void, _: *const D3DMATERIAL9) -> HRESULT,
pub GetMaterial: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DMATERIAL9) -> HRESULT,
pub SetLight: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3DLIGHT9) -> HRESULT,
pub GetLight: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DLIGHT9) -> HRESULT,
pub LightEnable: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL) -> HRESULT,
pub GetLightEnable: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT,
pub SetClipPlane: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32) -> HRESULT,
pub GetClipPlane: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32) -> HRESULT,
pub SetRenderState: unsafe extern "system" fn(_: *mut c_void, _: D3DRENDERSTATETYPE, _: u32) -> HRESULT,
pub GetRenderState: unsafe extern "system" fn(_: *mut c_void, _: D3DRENDERSTATETYPE, _: *mut u32) -> HRESULT,
pub CreateStateBlock: unsafe extern "system" fn(_: *mut c_void, _: D3DSTATEBLOCKTYPE, _: *mut *mut c_void) -> HRESULT,
pub BeginStateBlock: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub EndStateBlock: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetClipStatus: unsafe extern "system" fn(_: *mut c_void, _: *const D3DCLIPSTATUS9) -> HRESULT,
pub GetClipStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DCLIPSTATUS9) -> HRESULT,
pub GetTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT,
pub SetTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT,
pub GetTextureStageState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DTEXTURESTAGESTATETYPE, _: *mut u32) -> HRESULT,
pub SetTextureStageState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DTEXTURESTAGESTATETYPE, _: u32) -> HRESULT,
pub GetSamplerState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DSAMPLERSTATETYPE, _: *mut u32) -> HRESULT,
pub SetSamplerState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DSAMPLERSTATETYPE, _: u32) -> HRESULT,
pub ValidateDevice: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetPaletteEntries: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const PALETTEENTRY) -> HRESULT,
pub GetPaletteEntries: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut PALETTEENTRY) -> HRESULT,
pub SetCurrentTexturePalette: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetCurrentTexturePalette: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetScissorRect: unsafe extern "system" fn(_: *mut c_void, _: *const RECT) -> HRESULT,
pub GetScissorRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT,
pub SetSoftwareVertexProcessing: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub GetSoftwareVertexProcessing: unsafe extern "system" fn(_: *mut c_void) -> BOOL,
pub SetNPatchMode: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub GetNPatchMode: unsafe extern "system" fn(_: *mut c_void) -> f32,
pub DrawPrimitive: unsafe extern "system" fn(_: *mut c_void, _: D3DPRIMITIVETYPE, _: u32, _: u32) -> HRESULT,
pub DrawIndexedPrimitive: unsafe extern "system" fn(_: *mut c_void, _: D3DPRIMITIVETYPE, _: i32, _: u32, _: u32, _: u32, _: u32) -> HRESULT,
pub DrawPrimitiveUP: unsafe extern "system" fn(_: *mut c_void, _: D3DPRIMITIVETYPE, _: u32, _: *const c_void, _: u32) -> HRESULT,
pub DrawIndexedPrimitiveUP: unsafe extern "system" fn(_: *mut c_void, _: D3DPRIMITIVETYPE, _: u32, _: u32, _: u32, _: *const c_void, _: D3DFORMAT, _: *const c_void, _: u32) -> HRESULT,
pub ProcessVertices: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut c_void, _: *mut c_void, _: u32) -> HRESULT,
pub CreateVertexDeclaration: unsafe extern "system" fn(_: *mut c_void, _: *const D3DVERTEXELEMENT9, _: *mut *mut c_void) -> HRESULT,
pub SetVertexDeclaration: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetVertexDeclaration: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetFVF: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetFVF: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub CreateVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *const u32, _: *mut *mut c_void) -> HRESULT,
pub SetVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetVertexShaderConstantF: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: u32) -> HRESULT,
pub GetVertexShaderConstantF: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32, _: u32) -> HRESULT,
pub SetVertexShaderConstantI: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const i32, _: u32) -> HRESULT,
pub GetVertexShaderConstantI: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut i32, _: u32) -> HRESULT,
pub SetVertexShaderConstantB: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const BOOL, _: u32) -> HRESULT,
pub GetVertexShaderConstantB: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: u32) -> HRESULT,
pub SetStreamSource: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: u32, _: u32) -> HRESULT,
pub GetStreamSource: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT,
pub SetStreamSourceFreq: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT,
pub GetStreamSourceFreq: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT,
pub SetIndices: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetIndices: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub CreatePixelShader: unsafe extern "system" fn(_: *mut c_void, _: *const u32, _: *mut *mut c_void) -> HRESULT,
pub SetPixelShader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetPixelShader: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetPixelShaderConstantF: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: u32) -> HRESULT,
pub GetPixelShaderConstantF: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32, _: u32) -> HRESULT,
pub SetPixelShaderConstantI: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const i32, _: u32) -> HRESULT,
pub GetPixelShaderConstantI: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut i32, _: u32) -> HRESULT,
pub SetPixelShaderConstantB: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const BOOL, _: u32) -> HRESULT,
pub GetPixelShaderConstantB: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: u32) -> HRESULT,
pub DrawRectPatch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: *const D3DRECTPATCH_INFO) -> HRESULT,
pub DrawTriPatch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: *const D3DTRIPATCH_INFO) -> HRESULT,
pub DeletePatch: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub CreateQuery: unsafe extern "system" fn(_: *mut c_void, _: D3DQUERYTYPE, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§TestCooperativeLevel: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetAvailableTextureMem: unsafe extern "system" fn(_: *mut c_void) -> u32
§EvictManagedResources: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetDirect3D: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetDeviceCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DCAPS9) -> HRESULT
§GetDisplayMode: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DDISPLAYMODE) -> HRESULT
§GetCreationParameters: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DDEVICE_CREATION_PARAMETERS) -> HRESULT
§SetCursorProperties: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut c_void) -> HRESULT
§SetCursorPosition: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: u32)
§ShowCursor: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> BOOL
§CreateAdditionalSwapChain: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DPRESENT_PARAMETERS, _: *mut *mut c_void) -> HRESULT
§GetSwapChain: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT
§GetNumberOfSwapChains: unsafe extern "system" fn(_: *mut c_void) -> u32
§Reset: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DPRESENT_PARAMETERS) -> HRESULT
§Present: unsafe extern "system" fn(_: *mut c_void, _: *const RECT, _: *const RECT, _: HWND, _: *const RGNDATA) -> HRESULT
§GetBackBuffer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DBACKBUFFER_TYPE, _: *mut *mut c_void) -> HRESULT
§GetRasterStatus: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DRASTER_STATUS) -> HRESULT
§SetDialogBoxMode: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§SetGammaRamp: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const D3DGAMMARAMP)
§GetGammaRamp: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DGAMMARAMP)
§CreateTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT
§CreateVolumeTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT
§CreateCubeTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT
§CreateVertexBuffer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT
§CreateIndexBuffer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT
§CreateRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DFORMAT, _: D3DMULTISAMPLE_TYPE, _: u32, _: BOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT
§CreateDepthStencilSurface: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DFORMAT, _: D3DMULTISAMPLE_TYPE, _: u32, _: BOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT
§UpdateSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const RECT, _: *mut c_void, _: *const POINT) -> HRESULT
§UpdateTexture: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT
§GetRenderTargetData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT
§GetFrontBufferData: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT
§StretchRect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const RECT, _: *mut c_void, _: *const RECT, _: D3DTEXTUREFILTERTYPE) -> HRESULT
§ColorFill: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const RECT, _: u32) -> HRESULT
§CreateOffscreenPlainSurface: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: D3DFORMAT, _: D3DPOOL, _: *mut *mut c_void, _: *mut HANDLE) -> HRESULT
§SetRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT
§GetRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT
§SetDepthStencilSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§GetDepthStencilSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§BeginScene: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§EndScene: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Clear: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3DRECT, _: u32, _: u32, _: f32, _: u32) -> HRESULT
§SetTransform: unsafe extern "system" fn(_: *mut c_void, _: D3DTRANSFORMSTATETYPE, _: *const Matrix4x4) -> HRESULT
§GetTransform: unsafe extern "system" fn(_: *mut c_void, _: D3DTRANSFORMSTATETYPE, _: *mut Matrix4x4) -> HRESULT
§MultiplyTransform: unsafe extern "system" fn(_: *mut c_void, _: D3DTRANSFORMSTATETYPE, _: *const Matrix4x4) -> HRESULT
§SetViewport: unsafe extern "system" fn(_: *mut c_void, _: *const D3DVIEWPORT9) -> HRESULT
§GetViewport: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DVIEWPORT9) -> HRESULT
§SetMaterial: unsafe extern "system" fn(_: *mut c_void, _: *const D3DMATERIAL9) -> HRESULT
§GetMaterial: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DMATERIAL9) -> HRESULT
§SetLight: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3DLIGHT9) -> HRESULT
§GetLight: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DLIGHT9) -> HRESULT
§LightEnable: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL) -> HRESULT
§GetLightEnable: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT
§SetClipPlane: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32) -> HRESULT
§GetClipPlane: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32) -> HRESULT
§SetRenderState: unsafe extern "system" fn(_: *mut c_void, _: D3DRENDERSTATETYPE, _: u32) -> HRESULT
§GetRenderState: unsafe extern "system" fn(_: *mut c_void, _: D3DRENDERSTATETYPE, _: *mut u32) -> HRESULT
§CreateStateBlock: unsafe extern "system" fn(_: *mut c_void, _: D3DSTATEBLOCKTYPE, _: *mut *mut c_void) -> HRESULT
§BeginStateBlock: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§EndStateBlock: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetClipStatus: unsafe extern "system" fn(_: *mut c_void, _: *const D3DCLIPSTATUS9) -> HRESULT
§GetClipStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut D3DCLIPSTATUS9) -> HRESULT
§GetTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT
§SetTexture: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT
§GetTextureStageState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DTEXTURESTAGESTATETYPE, _: *mut u32) -> HRESULT
§SetTextureStageState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DTEXTURESTAGESTATETYPE, _: u32) -> HRESULT
§GetSamplerState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DSAMPLERSTATETYPE, _: *mut u32) -> HRESULT
§SetSamplerState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DSAMPLERSTATETYPE, _: u32) -> HRESULT
§ValidateDevice: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetPaletteEntries: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const PALETTEENTRY) -> HRESULT
§GetPaletteEntries: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut PALETTEENTRY) -> HRESULT
§SetCurrentTexturePalette: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§GetCurrentTexturePalette: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetScissorRect: unsafe extern "system" fn(_: *mut c_void, _: *const RECT) -> HRESULT
§GetScissorRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT
§SetSoftwareVertexProcessing: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§GetSoftwareVertexProcessing: unsafe extern "system" fn(_: *mut c_void) -> BOOL
§SetNPatchMode: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT
§GetNPatchMode: unsafe extern "system" fn(_: *mut c_void) -> f32
§DrawPrimitive: unsafe extern "system" fn(_: *mut c_void, _: D3DPRIMITIVETYPE, _: u32, _: u32) -> HRESULT
§DrawIndexedPrimitive: unsafe extern "system" fn(_: *mut c_void, _: D3DPRIMITIVETYPE, _: i32, _: u32, _: u32, _: u32, _: u32) -> HRESULT
§DrawPrimitiveUP: unsafe extern "system" fn(_: *mut c_void, _: D3DPRIMITIVETYPE, _: u32, _: *const c_void, _: u32) -> HRESULT
§DrawIndexedPrimitiveUP: unsafe extern "system" fn(_: *mut c_void, _: D3DPRIMITIVETYPE, _: u32, _: u32, _: u32, _: *const c_void, _: D3DFORMAT, _: *const c_void, _: u32) -> HRESULT
§ProcessVertices: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut c_void, _: *mut c_void, _: u32) -> HRESULT
§CreateVertexDeclaration: unsafe extern "system" fn(_: *mut c_void, _: *const D3DVERTEXELEMENT9, _: *mut *mut c_void) -> HRESULT
§SetVertexDeclaration: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§GetVertexDeclaration: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetFVF: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§GetFVF: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§CreateVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *const u32, _: *mut *mut c_void) -> HRESULT
§SetVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§GetVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetVertexShaderConstantF: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: u32) -> HRESULT
§GetVertexShaderConstantF: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32, _: u32) -> HRESULT
§SetVertexShaderConstantI: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const i32, _: u32) -> HRESULT
§GetVertexShaderConstantI: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut i32, _: u32) -> HRESULT
§SetVertexShaderConstantB: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const BOOL, _: u32) -> HRESULT
§GetVertexShaderConstantB: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: u32) -> HRESULT
§SetStreamSource: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: u32, _: u32) -> HRESULT
§GetStreamSource: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT
§SetStreamSourceFreq: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT
§GetStreamSourceFreq: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT
§SetIndices: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§GetIndices: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§CreatePixelShader: unsafe extern "system" fn(_: *mut c_void, _: *const u32, _: *mut *mut c_void) -> HRESULT
§SetPixelShader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§GetPixelShader: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetPixelShaderConstantF: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: u32) -> HRESULT
§GetPixelShaderConstantF: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32, _: u32) -> HRESULT
§SetPixelShaderConstantI: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const i32, _: u32) -> HRESULT
§GetPixelShaderConstantI: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut i32, _: u32) -> HRESULT
§SetPixelShaderConstantB: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const BOOL, _: u32) -> HRESULT
§GetPixelShaderConstantB: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: u32) -> HRESULT
§DrawRectPatch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: *const D3DRECTPATCH_INFO) -> HRESULT
§DrawTriPatch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: *const D3DTRIPATCH_INFO) -> HRESULT
§DeletePatch: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§CreateQuery: unsafe extern "system" fn(_: *mut c_void, _: D3DQUERYTYPE, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl IDirect3DDevice9_Vtbl
impl IDirect3DDevice9_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDirect3DDevice9_Vtblwhere
Identity: IDirect3DDevice9_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDirect3DDevice9_Vtbl
impl RefUnwindSafe for IDirect3DDevice9_Vtbl
impl Send for IDirect3DDevice9_Vtbl
impl Sync for IDirect3DDevice9_Vtbl
impl Unpin for IDirect3DDevice9_Vtbl
impl UnwindSafe for IDirect3DDevice9_Vtbl
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