Struct windows::Win32::Graphics::Direct3D12::ID3D12Resource_Vtbl
#[repr(C)]pub struct ID3D12Resource_Vtbl {
pub base__: ID3D12Pageable_Vtbl,
pub Map: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3D12_RANGE, _: *mut *mut c_void) -> HRESULT,
pub Unmap: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3D12_RANGE),
pub GetDesc: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D12_RESOURCE_DESC),
pub GetGPUVirtualAddress: unsafe extern "system" fn(_: *mut c_void) -> u64,
pub WriteToSubresource: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3D12_BOX, _: *const c_void, _: u32, _: u32) -> HRESULT,
pub ReadFromSubresource: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32, _: u32, _: *const D3D12_BOX) -> HRESULT,
pub GetHeapProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D12_HEAP_PROPERTIES, _: *mut D3D12_HEAP_FLAGS) -> HRESULT,
}
Fields§
§base__: ID3D12Pageable_Vtbl
§Map: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3D12_RANGE, _: *mut *mut c_void) -> HRESULT
§Unmap: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3D12_RANGE)
§GetDesc: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D12_RESOURCE_DESC)
§GetGPUVirtualAddress: unsafe extern "system" fn(_: *mut c_void) -> u64
§WriteToSubresource: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3D12_BOX, _: *const c_void, _: u32, _: u32) -> HRESULT
§ReadFromSubresource: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32, _: u32, _: *const D3D12_BOX) -> HRESULT
§GetHeapProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D12_HEAP_PROPERTIES, _: *mut D3D12_HEAP_FLAGS) -> HRESULT
Implementations§
§impl ID3D12Resource_Vtbl
impl ID3D12Resource_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ID3D12Resource_Vtblwhere
Identity: ID3D12Resource_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ID3D12Resource_Vtbl
impl RefUnwindSafe for ID3D12Resource_Vtbl
impl Send for ID3D12Resource_Vtbl
impl Sync for ID3D12Resource_Vtbl
impl Unpin for ID3D12Resource_Vtbl
impl UnwindSafe for ID3D12Resource_Vtbl
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