#[repr(C)]pub struct IDirect3DDevice9Ex {
pub lpVtbl: *const IDirect3DDevice9ExVtbl,
}
Fields§
§lpVtbl: *const IDirect3DDevice9ExVtbl
Implementations§
Source§impl IDirect3DDevice9Ex
impl IDirect3DDevice9Ex
pub unsafe fn SetConvolutionMonoKernel( &self, width: UINT, height: UINT, rows: *mut FLOAT, columns: *mut FLOAT, ) -> HRESULT
pub unsafe fn ComposeRects( &self, pSrc: *mut IDirect3DSurface9, pDst: *mut IDirect3DSurface9, pSrcRectDescs: *mut IDirect3DVertexBuffer9, NumRects: UINT, pDstRectDescs: *mut IDirect3DVertexBuffer9, Operation: D3DCOMPOSERECTSOP, Xoffset: INT, Yoffset: INT, ) -> HRESULT
pub unsafe fn PresentEx( &self, pSourceRect: *const RECT, pDestRect: *const RECT, hDestWindowOverride: HWND, pDirtyRegion: *const RGNDATA, dwFlags: DWORD, ) -> HRESULT
pub unsafe fn GetGPUThreadPriority(&self, pPriority: *mut INT) -> HRESULT
pub unsafe fn SetGPUThreadPriority(&self, Priority: INT) -> HRESULT
pub unsafe fn WaitForVBlank(&self, iSwapChain: UINT) -> HRESULT
pub unsafe fn CheckResourceResidency( &self, pResourceArray: *mut *mut IDirect3DResource9, NumResources: UINT32, ) -> HRESULT
pub unsafe fn SetMaximumFrameLatency(&self, MaxLatency: UINT) -> HRESULT
pub unsafe fn GetMaximumFrameLatency(&self, pMaxLatency: *mut UINT) -> HRESULT
pub unsafe fn CheckDeviceState(&self, hDestinationWindow: HWND) -> HRESULT
pub unsafe fn CreateRenderTargetEx( &self, Width: UINT, Height: UINT, Format: D3DFORMAT, MultiSample: D3DMULTISAMPLE_TYPE, MultisampleQuality: DWORD, Lockable: BOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE, Usage: DWORD, ) -> HRESULT
pub unsafe fn CreateOffscreenPlainSurfaceEx( &self, Width: UINT, Height: UINT, Format: D3DFORMAT, Pool: D3DPOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE, Usage: DWORD, ) -> HRESULT
pub unsafe fn CreateDepthStencilSurfaceEx( &self, Width: UINT, Height: UINT, Format: D3DFORMAT, MultiSample: D3DMULTISAMPLE_TYPE, MultisampleQuality: DWORD, Discard: BOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE, Usage: DWORD, ) -> HRESULT
pub unsafe fn ResetEx( &self, pPresentationParameters: *mut D3DPRESENT_PARAMETERS, pFullscreenDisplayMode: *mut D3DDISPLAYMODEEX, ) -> HRESULT
pub unsafe fn GetDisplayModeEx( &self, iSwapChain: UINT, pMode: *mut D3DDISPLAYMODEEX, pRotation: *mut D3DDISPLAYROTATION, ) -> HRESULT
Methods from Deref<Target = IDirect3DDevice9>§
pub unsafe fn TestCooperativeLevel(&self) -> HRESULT
pub unsafe fn GetAvailableTextureMem(&self) -> UINT
pub unsafe fn EvictManagedResources(&self) -> HRESULT
pub unsafe fn GetDirect3D(&self, ppD3D9: *mut *mut IDirect3D9) -> HRESULT
pub unsafe fn GetDeviceCaps(&self, pCaps: *mut D3DCAPS9) -> HRESULT
pub unsafe fn GetDisplayMode( &self, iSwapChain: UINT, pMode: *mut D3DDISPLAYMODE, ) -> HRESULT
pub unsafe fn GetCreationParameters( &self, pParameters: *mut D3DDEVICE_CREATION_PARAMETERS, ) -> HRESULT
pub unsafe fn SetCursorProperties( &self, XHotSpot: UINT, YHotSpot: UINT, pCursorBitmap: *mut IDirect3DSurface9, ) -> HRESULT
pub unsafe fn SetCursorPosition(&self, X: INT, Y: INT, Flags: DWORD)
pub unsafe fn ShowCursor(&self, bShow: BOOL) -> BOOL
pub unsafe fn CreateAdditionalSwapChain( &self, pPresentationParameters: *mut D3DPRESENT_PARAMETERS, pSwapChain: *mut *mut IDirect3DSwapChain9, ) -> HRESULT
pub unsafe fn GetSwapChain( &self, iSwapChain: UINT, pSwapChain: *mut *mut IDirect3DSwapChain9, ) -> HRESULT
pub unsafe fn GetNumberOfSwapChains(&self) -> UINT
pub unsafe fn Reset( &self, pPresentationParameters: *mut D3DPRESENT_PARAMETERS, ) -> HRESULT
pub unsafe fn Present( &self, pSourceRect: *const RECT, pDestRect: *const RECT, hDestWindowOverride: HWND, pDirtyRegion: *const RGNDATA, ) -> HRESULT
pub unsafe fn GetBackBuffer( &self, iSwapChain: UINT, iBackBuffer: UINT, Type: D3DBACKBUFFER_TYPE, ppBackBuffer: *mut *mut IDirect3DSurface9, ) -> HRESULT
pub unsafe fn GetRasterStatus( &self, iSwapChain: UINT, pRasterStatus: *mut D3DRASTER_STATUS, ) -> HRESULT
pub unsafe fn SetDialogBoxMode(&self, bEnableDialogs: BOOL) -> HRESULT
pub unsafe fn SetGammaRamp( &self, iSwapChain: UINT, Flags: DWORD, pRamp: *const D3DGAMMARAMP, )
pub unsafe fn GetGammaRamp(&self, iSwapChain: UINT, pRamp: *mut D3DGAMMARAMP)
pub unsafe fn CreateTexture( &self, Width: UINT, Height: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppTexture: *mut *mut IDirect3DTexture9, pSharedHandle: *mut HANDLE, ) -> HRESULT
pub unsafe fn CreateVolumeTexture( &self, Width: UINT, Height: UINT, Depth: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppVolumeTexture: *mut *mut IDirect3DVolumeTexture9, pSharedHandle: *mut HANDLE, ) -> HRESULT
pub unsafe fn CreateCubeTexture( &self, EdgeLength: UINT, Levels: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppCubeTexture: *mut *mut IDirect3DCubeTexture9, pSharedHandle: *mut HANDLE, ) -> HRESULT
pub unsafe fn CreateVertexBuffer( &self, Length: UINT, Usage: DWORD, FVF: DWORD, Pool: D3DPOOL, ppVertexBuffer: *mut *mut IDirect3DVertexBuffer9, pSharedHandle: *mut HANDLE, ) -> HRESULT
pub unsafe fn CreateIndexBuffer( &self, Length: UINT, Usage: DWORD, Format: D3DFORMAT, Pool: D3DPOOL, ppIndexBuffer: *mut *mut IDirect3DIndexBuffer9, pSharedHandle: *mut HANDLE, ) -> HRESULT
pub unsafe fn CreateRenderTarget( &self, Width: UINT, Height: UINT, Format: D3DFORMAT, MultiSample: D3DMULTISAMPLE_TYPE, MultisampleQuality: DWORD, Lockable: BOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE, ) -> HRESULT
pub unsafe fn CreateDepthStencilSurface( &self, Width: UINT, Height: UINT, Format: D3DFORMAT, MultiSample: D3DMULTISAMPLE_TYPE, MultisampleQuality: DWORD, Discard: BOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE, ) -> HRESULT
pub unsafe fn UpdateSurface( &self, pSourceSurface: *mut IDirect3DSurface9, pSourceRect: *const RECT, pDestinationSurface: *mut IDirect3DSurface9, pDestPoint: *const POINT, ) -> HRESULT
pub unsafe fn UpdateTexture( &self, pSourceTexture: *mut IDirect3DBaseTexture9, pDestinationTexture: *mut IDirect3DBaseTexture9, ) -> HRESULT
pub unsafe fn GetRenderTargetData( &self, pRenderTarget: *mut IDirect3DSurface9, pDestSurface: *mut IDirect3DSurface9, ) -> HRESULT
pub unsafe fn GetFrontBufferData( &self, iSwapChain: UINT, pDestSurface: *mut IDirect3DSurface9, ) -> HRESULT
pub unsafe fn StretchRect( &self, pSourceSurface: *mut IDirect3DSurface9, pSourceRect: *const RECT, pDestSurface: *mut IDirect3DSurface9, pDestRect: *const RECT, Filter: D3DTEXTUREFILTERTYPE, ) -> HRESULT
pub unsafe fn ColorFill( &self, pSurface: *mut IDirect3DSurface9, pRect: *const RECT, color: D3DCOLOR, ) -> HRESULT
pub unsafe fn CreateOffscreenPlainSurface( &self, Width: UINT, Height: UINT, Format: D3DFORMAT, Pool: D3DPOOL, ppSurface: *mut *mut IDirect3DSurface9, pSharedHandle: *mut HANDLE, ) -> HRESULT
pub unsafe fn SetRenderTarget( &self, RenderTargetIndex: DWORD, pRenderTarget: *mut IDirect3DSurface9, ) -> HRESULT
pub unsafe fn GetRenderTarget( &self, RenderTargetIndex: DWORD, ppRenderTarget: *mut *mut IDirect3DSurface9, ) -> HRESULT
pub unsafe fn SetDepthStencilSurface( &self, pNewZStencil: *mut IDirect3DSurface9, ) -> HRESULT
pub unsafe fn GetDepthStencilSurface( &self, ppZStencilSurface: *mut *mut IDirect3DSurface9, ) -> HRESULT
pub unsafe fn BeginScene(&self) -> HRESULT
pub unsafe fn EndScene(&self) -> HRESULT
pub unsafe fn Clear( &self, Count: DWORD, pRects: *const D3DRECT, Flags: DWORD, Color: D3DCOLOR, Z: FLOAT, Stencil: DWORD, ) -> HRESULT
pub unsafe fn SetTransform( &self, State: D3DTRANSFORMSTATETYPE, pMatrix: *const D3DMATRIX, ) -> HRESULT
pub unsafe fn GetTransform( &self, State: D3DTRANSFORMSTATETYPE, pMatrix: *mut D3DMATRIX, ) -> HRESULT
pub unsafe fn MultiplyTransform( &self, arg1: D3DTRANSFORMSTATETYPE, arg2: *const D3DMATRIX, ) -> HRESULT
pub unsafe fn SetViewport(&self, pViewport: *const D3DVIEWPORT9) -> HRESULT
pub unsafe fn GetViewport(&self, pViewport: *mut D3DVIEWPORT9) -> HRESULT
pub unsafe fn SetMaterial(&self, pMaterial: *const D3DMATERIAL9) -> HRESULT
pub unsafe fn GetMaterial(&self, pMaterial: *mut D3DMATERIAL9) -> HRESULT
pub unsafe fn SetLight(&self, Index: DWORD, arg1: *const D3DLIGHT9) -> HRESULT
pub unsafe fn GetLight(&self, Index: DWORD, arg1: *mut D3DLIGHT9) -> HRESULT
pub unsafe fn LightEnable(&self, Index: DWORD, Enable: BOOL) -> HRESULT
pub unsafe fn GetLightEnable(&self, Index: DWORD, pEnable: *mut BOOL) -> HRESULT
pub unsafe fn SetClipPlane(&self, Index: DWORD, pPlane: *const FLOAT) -> HRESULT
pub unsafe fn GetClipPlane(&self, Index: DWORD, pPlane: *mut FLOAT) -> HRESULT
pub unsafe fn SetRenderState( &self, State: D3DRENDERSTATETYPE, Value: DWORD, ) -> HRESULT
pub unsafe fn GetRenderState( &self, State: D3DRENDERSTATETYPE, pValue: *mut DWORD, ) -> HRESULT
pub unsafe fn CreateStateBlock( &self, Type: D3DSTATEBLOCKTYPE, ppSB: *mut *mut IDirect3DStateBlock9, ) -> HRESULT
pub unsafe fn BeginStateBlock(&self) -> HRESULT
pub unsafe fn EndStateBlock( &self, ppSB: *mut *mut IDirect3DStateBlock9, ) -> HRESULT
pub unsafe fn SetClipStatus( &self, pClipStatus: *const D3DCLIPSTATUS9, ) -> HRESULT
pub unsafe fn GetClipStatus(&self, pClipStatus: *mut D3DCLIPSTATUS9) -> HRESULT
pub unsafe fn GetTexture( &self, Stage: DWORD, ppTexture: *mut *mut IDirect3DBaseTexture9, ) -> HRESULT
pub unsafe fn SetTexture( &self, Stage: DWORD, pTexture: *mut IDirect3DBaseTexture9, ) -> HRESULT
pub unsafe fn GetTextureStageState( &self, Stage: DWORD, Type: D3DTEXTURESTAGESTATETYPE, pValue: *mut DWORD, ) -> HRESULT
pub unsafe fn SetTextureStageState( &self, Stage: DWORD, Type: D3DTEXTURESTAGESTATETYPE, Value: DWORD, ) -> HRESULT
pub unsafe fn GetSamplerState( &self, Sampler: DWORD, Type: D3DSAMPLERSTATETYPE, pValue: *mut DWORD, ) -> HRESULT
pub unsafe fn SetSamplerState( &self, Sampler: DWORD, Type: D3DSAMPLERSTATETYPE, Value: DWORD, ) -> HRESULT
pub unsafe fn ValidateDevice(&self, pNumPasses: *mut DWORD) -> HRESULT
pub unsafe fn SetPaletteEntries( &self, PaletteNumber: UINT, pEntries: *const PALETTEENTRY, ) -> HRESULT
pub unsafe fn GetPaletteEntries( &self, PaletteNumber: UINT, pEntries: *mut PALETTEENTRY, ) -> HRESULT
pub unsafe fn SetCurrentTexturePalette(&self, PaletteNumber: UINT) -> HRESULT
pub unsafe fn GetCurrentTexturePalette( &self, PaletteNumber: *mut UINT, ) -> HRESULT
pub unsafe fn SetScissorRect(&self, pRect: *const RECT) -> HRESULT
pub unsafe fn GetScissorRect(&self, pRect: *mut RECT) -> HRESULT
pub unsafe fn SetSoftwareVertexProcessing(&self, bSoftware: BOOL) -> HRESULT
pub unsafe fn GetSoftwareVertexProcessing(&self) -> BOOL
pub unsafe fn SetNPatchMode(&self, nSegments: FLOAT) -> HRESULT
pub unsafe fn GetNPatchMode(&self) -> FLOAT
pub unsafe fn DrawPrimitive( &self, PrimitiveType: D3DPRIMITIVETYPE, StartVertex: UINT, PrimitiveCount: UINT, ) -> HRESULT
pub unsafe fn DrawIndexedPrimitive( &self, arg1: D3DPRIMITIVETYPE, BaseVertexIndex: INT, MinVertexIndex: UINT, NumVertices: UINT, startIndex: UINT, primCount: UINT, ) -> HRESULT
pub unsafe fn DrawPrimitiveUP( &self, PrimitiveType: D3DPRIMITIVETYPE, PrimitiveCount: UINT, pVertexStreamZeroData: *const VOID, VertexStreamZeroStride: UINT, ) -> HRESULT
pub unsafe fn DrawIndexedPrimitiveUP( &self, PrimitiveType: D3DPRIMITIVETYPE, MinVertexIndex: UINT, NumVertices: UINT, PrimitiveCount: UINT, pIndexData: *const VOID, IndexDataFormat: D3DFORMAT, pVertexStreamZeroData: *const VOID, VertexStreamZeroStride: UINT, ) -> HRESULT
pub unsafe fn ProcessVertices( &self, SrcStartIndex: UINT, DestIndex: UINT, VertexCount: UINT, pDestBuffer: *mut IDirect3DVertexBuffer9, pVertexDecl: *mut IDirect3DVertexDeclaration9, Flags: DWORD, ) -> HRESULT
pub unsafe fn CreateVertexDeclaration( &self, pVertexElements: *const D3DVERTEXELEMENT9, ppDecl: *mut *mut IDirect3DVertexDeclaration9, ) -> HRESULT
pub unsafe fn SetVertexDeclaration( &self, pDecl: *mut IDirect3DVertexDeclaration9, ) -> HRESULT
pub unsafe fn GetVertexDeclaration( &self, ppDecl: *mut *mut IDirect3DVertexDeclaration9, ) -> HRESULT
pub unsafe fn SetFVF(&self, FVF: DWORD) -> HRESULT
pub unsafe fn GetFVF(&self, pFVF: *mut DWORD) -> HRESULT
pub unsafe fn CreateVertexShader( &self, pFunction: *const DWORD, ppShader: *mut *mut IDirect3DVertexShader9, ) -> HRESULT
pub unsafe fn SetVertexShader( &self, pShader: *mut IDirect3DVertexShader9, ) -> HRESULT
pub unsafe fn GetVertexShader( &self, ppShader: *mut *mut IDirect3DVertexShader9, ) -> HRESULT
pub unsafe fn SetVertexShaderConstantF( &self, StartRegister: UINT, pConstantData: *const FLOAT, Vector4fCount: UINT, ) -> HRESULT
pub unsafe fn GetVertexShaderConstantF( &self, StartRegister: UINT, pConstantData: *mut FLOAT, Vector4fCount: UINT, ) -> HRESULT
pub unsafe fn SetVertexShaderConstantI( &self, StartRegister: UINT, pConstantData: *const INT, Vector4iCount: UINT, ) -> HRESULT
pub unsafe fn GetVertexShaderConstantI( &self, StartRegister: UINT, pConstantData: *mut INT, Vector4iCount: UINT, ) -> HRESULT
pub unsafe fn SetVertexShaderConstantB( &self, StartRegister: UINT, pConstantData: *const BOOL, BoolCount: UINT, ) -> HRESULT
pub unsafe fn GetVertexShaderConstantB( &self, StartRegister: UINT, pConstantData: *mut BOOL, BoolCount: UINT, ) -> HRESULT
pub unsafe fn SetStreamSource( &self, StreamNumber: UINT, pStreamData: *mut IDirect3DVertexBuffer9, OffsetInBytes: UINT, Stride: UINT, ) -> HRESULT
pub unsafe fn GetStreamSource( &self, StreamNumber: UINT, ppStreamData: *mut *mut IDirect3DVertexBuffer9, pOffsetInBytes: *mut UINT, pStride: *mut UINT, ) -> HRESULT
pub unsafe fn SetStreamSourceFreq( &self, StreamNumber: UINT, Setting: UINT, ) -> HRESULT
pub unsafe fn GetStreamSourceFreq( &self, StreamNumber: UINT, pSetting: *mut UINT, ) -> HRESULT
pub unsafe fn SetIndices( &self, pIndexData: *mut IDirect3DIndexBuffer9, ) -> HRESULT
pub unsafe fn GetIndices( &self, ppIndexData: *mut *mut IDirect3DIndexBuffer9, ) -> HRESULT
pub unsafe fn CreatePixelShader( &self, pFunction: *const DWORD, ppShader: *mut *mut IDirect3DPixelShader9, ) -> HRESULT
pub unsafe fn SetPixelShader( &self, pShader: *mut IDirect3DPixelShader9, ) -> HRESULT
pub unsafe fn GetPixelShader( &self, ppShader: *mut *mut IDirect3DPixelShader9, ) -> HRESULT
pub unsafe fn SetPixelShaderConstantF( &self, StartRegister: UINT, pConstantData: *const FLOAT, Vector4fCount: UINT, ) -> HRESULT
pub unsafe fn GetPixelShaderConstantF( &self, StartRegister: UINT, pConstantData: *mut FLOAT, Vector4fCount: UINT, ) -> HRESULT
pub unsafe fn SetPixelShaderConstantI( &self, StartRegister: UINT, pConstantData: *const INT, Vector4iCount: UINT, ) -> HRESULT
pub unsafe fn GetPixelShaderConstantI( &self, StartRegister: UINT, pConstantData: *mut INT, Vector4iCount: UINT, ) -> HRESULT
pub unsafe fn SetPixelShaderConstantB( &self, StartRegister: UINT, pConstantData: *const BOOL, BoolCount: UINT, ) -> HRESULT
pub unsafe fn GetPixelShaderConstantB( &self, StartRegister: UINT, pConstantData: *mut BOOL, BoolCount: UINT, ) -> HRESULT
pub unsafe fn DrawRectPatch( &self, Handle: UINT, pNumSegs: *const FLOAT, pRectPatchInfo: *const D3DRECTPATCH_INFO, ) -> HRESULT
pub unsafe fn DrawTriPatch( &self, Handle: UINT, pNumSegs: *const FLOAT, pTriPatchInfo: *const D3DTRIPATCH_INFO, ) -> HRESULT
pub unsafe fn DeletePatch(&self, Handle: UINT) -> HRESULT
pub unsafe fn CreateQuery( &self, Type: D3DQUERYTYPE, ppQuery: *mut *mut IDirect3DQuery9, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDirect3DDevice9Ex
impl Deref for IDirect3DDevice9Ex
Source§type Target = IDirect3DDevice9
type Target = IDirect3DDevice9
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDirect3DDevice9
fn deref(&self) -> &IDirect3DDevice9
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDirect3DDevice9Ex
impl RefUnwindSafe for IDirect3DDevice9Ex
impl !Send for IDirect3DDevice9Ex
impl !Sync for IDirect3DDevice9Ex
impl Unpin for IDirect3DDevice9Ex
impl UnwindSafe for IDirect3DDevice9Ex
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