示例#1
0
 public int CheckFeatureSupport(D3D11_FEATURE Feature, IntPtr pFeatureSupportData, uint FeatureSupportDataSize)
 {
     if (m_CheckFeatureSupportFunc == null)
     {
         var fp = GetFunctionPointer(33);
         m_CheckFeatureSupportFunc = (CheckFeatureSupportFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CheckFeatureSupportFunc));
     }
     return(m_CheckFeatureSupportFunc(m_ptr, Feature, pFeatureSupportData, FeatureSupportDataSize));
 }
示例#2
0
 public int CheckFeatureSupport(D3D11_FEATURE Feature, [NativeTypeName("void *")] void *pFeatureSupportData, [NativeTypeName("UINT")] uint FeatureSupportDataSize)
 {
     return(((delegate * unmanaged <ID3D11Device1 *, D3D11_FEATURE, void *, uint, int>)(lpVtbl[33]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize));
 }
示例#3
0
 public HRESULT CheckFeatureSupport(D3D11_FEATURE Feature, void *pFeatureSupportData, uint FeatureSupportDataSize)
 {
     return(((delegate * unmanaged <ID3D11Device1 *, D3D11_FEATURE, void *, uint, int>)(lpVtbl[33]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize));
 }