[−][src]Struct winapi::um::d3d12::ID3D12Resource
Fields
lpVtbl: *const ID3D12ResourceVtbl
Implementations
impl ID3D12Resource
[src]
pub unsafe fn Map(
&self,
Subresource: UINT,
pReadRange: *const D3D12_RANGE,
ppData: *mut *mut c_void
) -> HRESULT
[src]
&self,
Subresource: UINT,
pReadRange: *const D3D12_RANGE,
ppData: *mut *mut c_void
) -> HRESULT
pub unsafe fn Unmap(&self, Subresource: UINT, pWrittenRange: *const D3D12_RANGE)
[src]
pub unsafe fn GetDesc(&self) -> D3D12_RESOURCE_DESC
[src]
pub unsafe fn GetGPUVirtualAddress(&self) -> D3D12_GPU_VIRTUAL_ADDRESS
[src]
pub unsafe fn WriteToSubresource(
&self,
DstSubresource: UINT,
pDstBox: *const D3D12_BOX,
pSrcData: *const c_void,
SrcRowPitch: UINT,
SrcDepthPitch: UINT
) -> HRESULT
[src]
&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
[src]
&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
[src]
&self,
pHeapProperties: *mut D3D12_HEAP_PROPERTIES,
pHeapFlags: *mut D3D12_HEAP_FLAGS
) -> HRESULT
Trait Implementations
impl Deref for ID3D12Resource
[src]
type Target = ID3D12Pageable
The resulting type after dereferencing.
fn deref(&self) -> &ID3D12Pageable
[src]
impl Interface for ID3D12Resource
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,