pub trait IDirect3DTexture9_Impl: Sized + IDirect3DBaseTexture9_Impl {
    // Required methods
    fn GetLevelDesc(
        &self,
        level: u32,
        pdesc: *mut D3DSURFACE_DESC,
    ) -> Result<()>;
    fn GetSurfaceLevel(&self, level: u32) -> Result<IDirect3DSurface9>;
    fn LockRect(
        &self,
        level: u32,
        plockedrect: *mut D3DLOCKED_RECT,
        prect: *const RECT,
        flags: u32,
    ) -> Result<()>;
    fn UnlockRect(&self, level: u32) -> Result<()>;
    fn AddDirtyRect(&self, pdirtyrect: *const RECT) -> Result<()>;
}

Required Methods§

fn GetLevelDesc(&self, level: u32, pdesc: *mut D3DSURFACE_DESC) -> Result<()>

fn GetSurfaceLevel(&self, level: u32) -> Result<IDirect3DSurface9>

fn LockRect( &self, level: u32, plockedrect: *mut D3DLOCKED_RECT, prect: *const RECT, flags: u32, ) -> Result<()>

fn UnlockRect(&self, level: u32) -> Result<()>

fn AddDirtyRect(&self, pdirtyrect: *const RECT) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§