Пример #1
0
        public virtual int CreateCommandList1(
            uint nodeMask,
            D3D12_COMMAND_LIST_TYPE type,
            D3D12_COMMAND_LIST_FLAGS flags,
            ref Guid riid,
            out IntPtr ppCommandList
            )
        {
            var fp = GetFunctionPointer(51);

            if (m_CreateCommandList1Func == null)
            {
                m_CreateCommandList1Func = (CreateCommandList1Func)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateCommandList1Func));
            }

            return(m_CreateCommandList1Func(m_ptr, nodeMask, type, flags, ref riid, out ppCommandList));
        }
Пример #2
0
 public int CreateCommandList1([NativeTypeName("UINT")] uint nodeMask, D3D12_COMMAND_LIST_TYPE type, D3D12_COMMAND_LIST_FLAGS flags, [NativeTypeName("const IID &")] Guid *riid, void **ppCommandList)
 {
     return(((delegate * unmanaged <ID3D12Device8 *, uint, D3D12_COMMAND_LIST_TYPE, D3D12_COMMAND_LIST_FLAGS, Guid *, void **, int>)(lpVtbl[51]))((ID3D12Device8 *)Unsafe.AsPointer(ref this), nodeMask, type, flags, riid, ppCommandList));
 }