Struct gpu_allocator::d3d12::winapi_d3d12::ID3D12Heap
source · #[repr(C)]pub struct ID3D12Heap {
pub lpVtbl: *const ID3D12HeapVtbl,
}
Fields§
§lpVtbl: *const ID3D12HeapVtbl
Implementations§
source§impl ID3D12Heap
impl ID3D12Heap
pub unsafe fn GetDesc(&self) -> D3D12_HEAP_DESC
Methods from Deref<Target = ID3D12DeviceChild>§
Methods from Deref<Target = 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 ID3D12Heap
impl Deref for ID3D12Heap
§type Target = ID3D12Pageable
type Target = ID3D12Pageable
The resulting type after dereferencing.
source§fn deref(&self) -> &ID3D12Pageable
fn deref(&self) -> &ID3D12Pageable
Dereferences the value.
source§impl ToWinapi<ID3D12Heap> for ID3D12Heap
impl ToWinapi<ID3D12Heap> for ID3D12Heap
fn as_winapi(&self) -> *const ID3D12Heap
fn as_winapi_mut(&mut self) -> *mut ID3D12Heap
Auto Trait Implementations§
impl Freeze for ID3D12Heap
impl RefUnwindSafe for ID3D12Heap
impl !Send for ID3D12Heap
impl !Sync for ID3D12Heap
impl Unpin for ID3D12Heap
impl UnwindSafe for ID3D12Heap
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