Пример #1
0
        public virtual int CheckFeatureSupport(
            D3D12_FEATURE Feature,
            IntPtr pFeatureSupportData,
            uint FeatureSupportDataSize
            )
        {
            var fp = GetFunctionPointer(13);

            if (m_CheckFeatureSupportFunc == null)
            {
                m_CheckFeatureSupportFunc = (CheckFeatureSupportFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CheckFeatureSupportFunc));
            }

            return(m_CheckFeatureSupportFunc(m_ptr, Feature, pFeatureSupportData, FeatureSupportDataSize));
        }
Пример #2
0
 public int CheckFeatureSupport(D3D12_FEATURE Feature, [NativeTypeName("void *")] void *pFeatureSupportData, [NativeTypeName("UINT")] uint FeatureSupportDataSize)
 {
     return(((delegate * unmanaged <ID3D12Device *, D3D12_FEATURE, void *, uint, int>)(lpVtbl[13]))((ID3D12Device *)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize));
 }
Пример #3
0
 public HRESULT CheckFeatureSupport(D3D12_FEATURE Feature, void *pFeatureSupportData, uint FeatureSupportDataSize)
 {
     return(((delegate * unmanaged <ID3D12Device1 *, D3D12_FEATURE, void *, uint, int>)(lpVtbl[13]))((ID3D12Device1 *)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize));
 }