/// <summary>To be documented.</summary> public readonly void Present(ref ID3D12Resource pResource, uint Subresource, nint window) { var @this = (ID3D12SharingContract *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); fixed(ID3D12Resource *pResourcePtr = &pResource) { ((delegate * unmanaged[Cdecl] < ID3D12SharingContract *, ID3D12Resource *, uint, nint, void >)LpVtbl[3])(@this, pResourcePtr, Subresource, window); } }
/// <summary>To be documented.</summary> public readonly int AssertResourceState(ref ID3D12Resource pResource, uint Subresource, uint State) { var @this = (ID3D12DebugCommandList1 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed(ID3D12Resource *pResourcePtr = &pResource) { ret = ((delegate * unmanaged[Cdecl] < ID3D12DebugCommandList1 *, ID3D12Resource *, uint, uint, int >)LpVtbl[3])(@this, pResourcePtr, Subresource, State); } return(ret); }