[][src]Struct winapi::um::d3d12::ID3D12Resource

#[repr(C)]
pub struct ID3D12Resource { pub lpVtbl: *const ID3D12ResourceVtbl, }

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]

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]

pub unsafe fn ReadFromSubresource(
    &self,
    pDstData: *mut c_void,
    DstRowPitch: UINT,
    DstDepthPitch: UINT,
    SrcSubresource: UINT,
    pSrcBox: *const D3D12_BOX
) -> HRESULT
[src]

pub unsafe fn GetHeapProperties(
    &self,
    pHeapProperties: *mut D3D12_HEAP_PROPERTIES,
    pHeapFlags: *mut D3D12_HEAP_FLAGS
) -> HRESULT
[src]

Trait Implementations

impl Interface for ID3D12Resource[src]

impl Deref for ID3D12Resource[src]

type Target = ID3D12Pageable

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]