[−][src]Struct winapi::um::d3d12::ID3D12Resource
Fields
lpVtbl: *const ID3D12ResourceVtbl
Methods
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 Interface for ID3D12Resource
[src]
impl Deref for ID3D12Resource
[src]
type Target = ID3D12Pageable
The resulting type after dereferencing.
fn deref(&self) -> &ID3D12Pageable
[src]
Auto Trait Implementations
impl !Send for ID3D12Resource
impl !Sync for ID3D12Resource
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom 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 for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,