Trait windows::Win32::Graphics::Direct3D9::IDirect3DDevice9Ex_Impl
pub trait IDirect3DDevice9Ex_Impl: Sized + IDirect3DDevice9_Impl {
Show 15 methods
// Required methods
fn SetConvolutionMonoKernel(
&self,
width: u32,
height: u32,
rows: *mut f32,
columns: *mut f32,
) -> Result<()>;
fn ComposeRects(
&self,
psrc: Option<&IDirect3DSurface9>,
pdst: Option<&IDirect3DSurface9>,
psrcrectdescs: Option<&IDirect3DVertexBuffer9>,
numrects: u32,
pdstrectdescs: Option<&IDirect3DVertexBuffer9>,
operation: D3DCOMPOSERECTSOP,
xoffset: i32,
yoffset: i32,
) -> Result<()>;
fn PresentEx(
&self,
psourcerect: *const RECT,
pdestrect: *const RECT,
hdestwindowoverride: HWND,
pdirtyregion: *const RGNDATA,
dwflags: u32,
) -> Result<()>;
fn GetGPUThreadPriority(&self, ppriority: *mut i32) -> Result<()>;
fn SetGPUThreadPriority(&self, priority: i32) -> Result<()>;
fn WaitForVBlank(&self, iswapchain: u32) -> Result<()>;
fn CheckResourceResidency(
&self,
presourcearray: *mut Option<IDirect3DResource9>,
numresources: u32,
) -> Result<()>;
fn SetMaximumFrameLatency(&self, maxlatency: u32) -> Result<()>;
fn GetMaximumFrameLatency(&self, pmaxlatency: *mut u32) -> Result<()>;
fn CheckDeviceState(&self, hdestinationwindow: HWND) -> Result<()>;
fn CreateRenderTargetEx(
&self,
width: u32,
height: u32,
format: D3DFORMAT,
multisample: D3DMULTISAMPLE_TYPE,
multisamplequality: u32,
lockable: BOOL,
ppsurface: *mut Option<IDirect3DSurface9>,
psharedhandle: *mut HANDLE,
usage: u32,
) -> Result<()>;
fn CreateOffscreenPlainSurfaceEx(
&self,
width: u32,
height: u32,
format: D3DFORMAT,
pool: D3DPOOL,
ppsurface: *mut Option<IDirect3DSurface9>,
psharedhandle: *mut HANDLE,
usage: u32,
) -> Result<()>;
fn CreateDepthStencilSurfaceEx(
&self,
width: u32,
height: u32,
format: D3DFORMAT,
multisample: D3DMULTISAMPLE_TYPE,
multisamplequality: u32,
discard: BOOL,
ppsurface: *mut Option<IDirect3DSurface9>,
psharedhandle: *mut HANDLE,
usage: u32,
) -> Result<()>;
fn ResetEx(
&self,
ppresentationparameters: *mut D3DPRESENT_PARAMETERS,
pfullscreendisplaymode: *mut D3DDISPLAYMODEEX,
) -> Result<()>;
fn GetDisplayModeEx(
&self,
iswapchain: u32,
pmode: *mut D3DDISPLAYMODEEX,
protation: *mut D3DDISPLAYROTATION,
) -> Result<()>;
}
Required Methods§
fn SetConvolutionMonoKernel( &self, width: u32, height: u32, rows: *mut f32, columns: *mut f32, ) -> Result<()>
fn ComposeRects( &self, psrc: Option<&IDirect3DSurface9>, pdst: Option<&IDirect3DSurface9>, psrcrectdescs: Option<&IDirect3DVertexBuffer9>, numrects: u32, pdstrectdescs: Option<&IDirect3DVertexBuffer9>, operation: D3DCOMPOSERECTSOP, xoffset: i32, yoffset: i32, ) -> Result<()>
fn PresentEx( &self, psourcerect: *const RECT, pdestrect: *const RECT, hdestwindowoverride: HWND, pdirtyregion: *const RGNDATA, dwflags: u32, ) -> Result<()>
fn GetGPUThreadPriority(&self, ppriority: *mut i32) -> Result<()>
fn SetGPUThreadPriority(&self, priority: i32) -> Result<()>
fn WaitForVBlank(&self, iswapchain: u32) -> Result<()>
fn CheckResourceResidency( &self, presourcearray: *mut Option<IDirect3DResource9>, numresources: u32, ) -> Result<()>
fn SetMaximumFrameLatency(&self, maxlatency: u32) -> Result<()>
fn GetMaximumFrameLatency(&self, pmaxlatency: *mut u32) -> Result<()>
fn CheckDeviceState(&self, hdestinationwindow: HWND) -> Result<()>
fn CreateRenderTargetEx( &self, width: u32, height: u32, format: D3DFORMAT, multisample: D3DMULTISAMPLE_TYPE, multisamplequality: u32, lockable: BOOL, ppsurface: *mut Option<IDirect3DSurface9>, psharedhandle: *mut HANDLE, usage: u32, ) -> Result<()>
fn CreateOffscreenPlainSurfaceEx( &self, width: u32, height: u32, format: D3DFORMAT, pool: D3DPOOL, ppsurface: *mut Option<IDirect3DSurface9>, psharedhandle: *mut HANDLE, usage: u32, ) -> Result<()>
fn CreateDepthStencilSurfaceEx( &self, width: u32, height: u32, format: D3DFORMAT, multisample: D3DMULTISAMPLE_TYPE, multisamplequality: u32, discard: BOOL, ppsurface: *mut Option<IDirect3DSurface9>, psharedhandle: *mut HANDLE, usage: u32, ) -> Result<()>
fn ResetEx( &self, ppresentationparameters: *mut D3DPRESENT_PARAMETERS, pfullscreendisplaymode: *mut D3DDISPLAYMODEEX, ) -> Result<()>
fn GetDisplayModeEx( &self, iswapchain: u32, pmode: *mut D3DDISPLAYMODEEX, protation: *mut D3DDISPLAYROTATION, ) -> Result<()>
Object Safety§
This trait is not object safe.