public virtual void SetPredication(
            ID3D12Resource pBuffer,
            ulong AlignedBufferOffset,
            D3D12_PREDICATION_OP Operation
            )
        {
            var fp = GetFunctionPointer(55);

            if (m_SetPredicationFunc == null)
            {
                m_SetPredicationFunc = (SetPredicationFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetPredicationFunc));
            }

            m_SetPredicationFunc(m_ptr, pBuffer != null ? pBuffer.Ptr : IntPtr.Zero, AlignedBufferOffset, Operation);
        }
 public void SetPredication(ID3D12Resource *pBuffer, [NativeTypeName("UINT64")] ulong AlignedBufferOffset, D3D12_PREDICATION_OP Operation)
 {
     ((delegate * unmanaged <ID3D12VideoDecodeCommandList2 *, ID3D12Resource *, ulong, D3D12_PREDICATION_OP, void>)(lpVtbl[17]))((ID3D12VideoDecodeCommandList2 *)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation);
 }
Exemple #3
0
 public void SetPredication([NativeTypeName("ID3D12Resource *")] ID3D12Resource *pBuffer, [NativeTypeName("UINT64")] ulong AlignedBufferOffset, D3D12_PREDICATION_OP Operation)
 {
     ((delegate * stdcall <ID3D12VideoProcessCommandList *, ID3D12Resource *, ulong, D3D12_PREDICATION_OP, void>)(lpVtbl[17]))((ID3D12VideoProcessCommandList *)Unsafe.AsPointer(ref this), pBuffer, AlignedBufferOffset, Operation);
 }