Struct gpu_allocator::d3d12::winapi_d3d12::ID3D12Object
source · #[repr(C)]pub struct ID3D12Object {
pub lpVtbl: *const ID3D12ObjectVtbl,
}
Fields§
§lpVtbl: *const ID3D12ObjectVtbl
Implementations§
source§impl ID3D12Object
impl ID3D12Object
pub unsafe fn GetPrivateData( &self, guid: *const GUID, pDataSize: *mut u32, pData: *mut c_void, ) -> i32
pub unsafe fn SetPrivateData( &self, guid: *const GUID, DataSize: u32, pData: *const c_void, ) -> i32
pub unsafe fn SetPrivateDataInterface( &self, guid: *const GUID, pData: *const IUnknown, ) -> i32
pub unsafe fn SetName(&self, Name: *const u16) -> i32
Methods from Deref<Target = IUnknown>§
pub unsafe fn QueryInterface( &self, riid: *const GUID, ppvObject: *mut *mut c_void, ) -> i32
pub unsafe fn AddRef(&self) -> u32
pub unsafe fn Release(&self) -> u32
Trait Implementations§
source§impl Deref for ID3D12Object
impl Deref for ID3D12Object
Auto Trait Implementations§
impl Freeze for ID3D12Object
impl RefUnwindSafe for ID3D12Object
impl !Send for ID3D12Object
impl !Sync for ID3D12Object
impl Unpin for ID3D12Object
impl UnwindSafe for ID3D12Object
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