Trait windows::Win32::Graphics::Direct3D9::IDirect3DResource9_Impl
pub trait IDirect3DResource9_Impl: Sized {
// Required methods
fn GetDevice(&self) -> Result<IDirect3DDevice9>;
fn SetPrivateData(
&self,
refguid: *const GUID,
pdata: *const c_void,
sizeofdata: u32,
flags: u32,
) -> Result<()>;
fn GetPrivateData(
&self,
refguid: *const GUID,
pdata: *mut c_void,
psizeofdata: *mut u32,
) -> Result<()>;
fn FreePrivateData(&self, refguid: *const GUID) -> Result<()>;
fn SetPriority(&self, prioritynew: u32) -> u32;
fn GetPriority(&self) -> u32;
fn PreLoad(&self);
fn GetType(&self) -> D3DRESOURCETYPE;
}
Required Methods§
fn GetDevice(&self) -> Result<IDirect3DDevice9>
fn SetPrivateData( &self, refguid: *const GUID, pdata: *const c_void, sizeofdata: u32, flags: u32, ) -> Result<()>
fn GetPrivateData( &self, refguid: *const GUID, pdata: *mut c_void, psizeofdata: *mut u32, ) -> Result<()>
fn FreePrivateData(&self, refguid: *const GUID) -> Result<()>
fn SetPriority(&self, prioritynew: u32) -> u32
fn GetPriority(&self) -> u32
fn PreLoad(&self)
fn GetType(&self) -> D3DRESOURCETYPE
Object Safety§
This trait is not object safe.