#[repr(C)]pub struct ID3D12Resource {
pub lpVtbl: *const ID3D12ResourceVtbl,
}
Fields§
§lpVtbl: *const ID3D12ResourceVtbl
Implementations§
Source§impl ID3D12Resource
impl ID3D12Resource
pub unsafe fn Map( &self, Subresource: UINT, pReadRange: *const D3D12_RANGE, ppData: *mut *mut c_void, ) -> HRESULT
pub unsafe fn Unmap(&self, Subresource: UINT, pWrittenRange: *const D3D12_RANGE)
pub unsafe fn GetDesc(&self) -> D3D12_RESOURCE_DESC
pub unsafe fn GetGPUVirtualAddress(&self) -> D3D12_GPU_VIRTUAL_ADDRESS
pub unsafe fn WriteToSubresource( &self, DstSubresource: UINT, pDstBox: *const D3D12_BOX, pSrcData: *const c_void, SrcRowPitch: UINT, SrcDepthPitch: UINT, ) -> HRESULT
pub unsafe fn ReadFromSubresource( &self, pDstData: *mut c_void, DstRowPitch: UINT, DstDepthPitch: UINT, SrcSubresource: UINT, pSrcBox: *const D3D12_BOX, ) -> HRESULT
pub unsafe fn GetHeapProperties( &self, pHeapProperties: *mut D3D12_HEAP_PROPERTIES, pHeapFlags: *mut D3D12_HEAP_FLAGS, ) -> HRESULT
Methods from Deref<Target = ID3D12DeviceChild>§
Methods from Deref<Target = ID3D12Object>§
pub unsafe fn GetPrivateData( &self, guid: REFGUID, pDataSize: *mut UINT, pData: *mut c_void, ) -> HRESULT
pub unsafe fn SetPrivateData( &self, guid: REFGUID, DataSize: UINT, pData: *const c_void, ) -> HRESULT
pub unsafe fn SetPrivateDataInterface( &self, guid: REFGUID, pData: *const IUnknown, ) -> HRESULT
pub unsafe fn SetName(&self, Name: LPCWSTR) -> HRESULT
Trait Implementations§
Source§impl Deref for ID3D12Resource
impl Deref for ID3D12Resource
Source§type Target = ID3D12Pageable
type Target = ID3D12Pageable
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID3D12Pageable
fn deref(&self) -> &ID3D12Pageable
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID3D12Resource
impl RefUnwindSafe for ID3D12Resource
impl !Send for ID3D12Resource
impl !Sync for ID3D12Resource
impl Unpin for ID3D12Resource
impl UnwindSafe for ID3D12Resource
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