Esempio n. 1
0
        public virtual int SetEventOnMultipleFenceCompletion(
            ref IntPtr ppFences,
            ref ulong pFenceValues,
            uint NumFences,
            D3D12_MULTIPLE_FENCE_WAIT_FLAGS Flags,
            IntPtr hEvent
            )
        {
            var fp = GetFunctionPointer(45);

            if (m_SetEventOnMultipleFenceCompletionFunc == null)
            {
                m_SetEventOnMultipleFenceCompletionFunc = (SetEventOnMultipleFenceCompletionFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetEventOnMultipleFenceCompletionFunc));
            }

            return(m_SetEventOnMultipleFenceCompletionFunc(m_ptr, ref ppFences, ref pFenceValues, NumFences, Flags, hEvent));
        }
Esempio n. 2
0
 public int SetEventOnMultipleFenceCompletion([NativeTypeName("ID3D12Fence *const *")] ID3D12Fence **ppFences, [NativeTypeName("const UINT64 *")] ulong *pFenceValues, [NativeTypeName("UINT")] uint NumFences, D3D12_MULTIPLE_FENCE_WAIT_FLAGS Flags, [NativeTypeName("HANDLE")] IntPtr hEvent)
 {
     return(((delegate * unmanaged <ID3D12Device8 *, ID3D12Fence **, ulong *, uint, D3D12_MULTIPLE_FENCE_WAIT_FLAGS, IntPtr, int>)(lpVtbl[45]))((ID3D12Device8 *)Unsafe.AsPointer(ref this), ppFences, pFenceValues, NumFences, Flags, hEvent));
 }