Struct gpu_allocator::d3d12::winapi_d3d12::ID3D12ResourceVtbl
source · #[repr(C)]pub struct ID3D12ResourceVtbl {
pub parent: ID3D12PageableVtbl,
pub Map: unsafe extern "system" fn(_: *mut ID3D12Resource, _: u32, _: *const D3D12_RANGE, _: *mut *mut c_void) -> i32,
pub Unmap: unsafe extern "system" fn(_: *mut ID3D12Resource, _: u32, _: *const D3D12_RANGE),
pub GetDesc: unsafe extern "system" fn(_: *mut ID3D12Resource, _: *mut D3D12_RESOURCE_DESC) -> *mut D3D12_RESOURCE_DESC,
pub GetGPUVirtualAddress: unsafe extern "system" fn(_: *mut ID3D12Resource) -> u64,
pub WriteToSubresource: unsafe extern "system" fn(_: *mut ID3D12Resource, _: u32, _: *const D3D12_BOX, _: *const c_void, _: u32, _: u32) -> i32,
pub ReadFromSubresource: unsafe extern "system" fn(_: *mut ID3D12Resource, _: *mut c_void, _: u32, _: u32, _: u32, _: *const D3D12_BOX) -> i32,
pub GetHeapProperties: unsafe extern "system" fn(_: *mut ID3D12Resource, _: *mut D3D12_HEAP_PROPERTIES, _: *mut u32) -> i32,
}
Fields§
§parent: ID3D12PageableVtbl
§Map: unsafe extern "system" fn(_: *mut ID3D12Resource, _: u32, _: *const D3D12_RANGE, _: *mut *mut c_void) -> i32
§Unmap: unsafe extern "system" fn(_: *mut ID3D12Resource, _: u32, _: *const D3D12_RANGE)
§GetDesc: unsafe extern "system" fn(_: *mut ID3D12Resource, _: *mut D3D12_RESOURCE_DESC) -> *mut D3D12_RESOURCE_DESC
§GetGPUVirtualAddress: unsafe extern "system" fn(_: *mut ID3D12Resource) -> u64
§WriteToSubresource: unsafe extern "system" fn(_: *mut ID3D12Resource, _: u32, _: *const D3D12_BOX, _: *const c_void, _: u32, _: u32) -> i32
§ReadFromSubresource: unsafe extern "system" fn(_: *mut ID3D12Resource, _: *mut c_void, _: u32, _: u32, _: u32, _: *const D3D12_BOX) -> i32
§GetHeapProperties: unsafe extern "system" fn(_: *mut ID3D12Resource, _: *mut D3D12_HEAP_PROPERTIES, _: *mut u32) -> i32
Auto Trait Implementations§
impl Freeze for ID3D12ResourceVtbl
impl RefUnwindSafe for ID3D12ResourceVtbl
impl Send for ID3D12ResourceVtbl
impl Sync for ID3D12ResourceVtbl
impl Unpin for ID3D12ResourceVtbl
impl UnwindSafe for ID3D12ResourceVtbl
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