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

pub struct ID3D12Resource {
    pub lpVtbl: *const ID3D12ResourceVtbl,
}

Fields

lpVtbl: *const ID3D12ResourceVtbl

Methods

impl ID3D12Resource
[src]

unsafe fn Map(&mut self, Subresource: UINT, pReadRange: *const D3D12_RANGE, ppData: *mut *mut c_void) -> HRESULT

unsafe fn Unmap(&mut self, Subresource: UINT, pWrittenRange: *const D3D12_RANGE)

unsafe fn GetDesc(&mut self, __ret_val: *mut D3D12_RESOURCE_DESC) -> *mut D3D12_RESOURCE_DESC

unsafe fn GetGPUVirtualAddress(&mut self) -> D3D12_GPU_VIRTUAL_ADDRESS

unsafe fn WriteToSubresource(&mut self, DstSubresource: UINT, pDstBox: *const D3D12_BOX, pSrcData: *const c_void, SrcRowPitch: UINT, SrcDepthPitch: UINT) -> HRESULT

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

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

Trait Implementations

impl Debug for ID3D12Resource
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for ID3D12Resource
[src]

type Target = ID3D12Pageable

The resulting type after dereferencing

fn deref(&self) -> &ID3D12Pageable

The method called to dereference a value

impl DerefMut for ID3D12Resource
[src]

fn deref_mut(&mut self) -> &mut ID3D12Pageable

The method called to mutably dereference a value