public int GetBreakOnCategory(D3D11_MESSAGE_CATEGORY Category)
 {
     if (m_GetBreakOnCategoryFunc == null)
     {
         var fp = GetFunctionPointer(33);
         m_GetBreakOnCategoryFunc = (GetBreakOnCategoryFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetBreakOnCategoryFunc));
     }
     return(m_GetBreakOnCategoryFunc(m_ptr, Category));
 }
 public int SetBreakOnCategory(D3D11_MESSAGE_CATEGORY Category, int bEnable)
 {
     if (m_SetBreakOnCategoryFunc == null)
     {
         var fp = GetFunctionPointer(30);
         m_SetBreakOnCategoryFunc = (SetBreakOnCategoryFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetBreakOnCategoryFunc));
     }
     return(m_SetBreakOnCategoryFunc(m_ptr, Category, bEnable));
 }
 public int AddMessage(D3D11_MESSAGE_CATEGORY Category, D3D11_MESSAGE_SEVERITY Severity, D3D11_MESSAGE_ID ID, [MarshalAs(UnmanagedType.LPStr)] string pDescription)
 {
     if (m_AddMessageFunc == null)
     {
         var fp = GetFunctionPointer(28);
         m_AddMessageFunc = (AddMessageFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(AddMessageFunc));
     }
     return(m_AddMessageFunc(m_ptr, Category, Severity, ID, pDescription));
 }
Beispiel #4
0
 public BOOL GetBreakOnCategory(D3D11_MESSAGE_CATEGORY Category)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_CATEGORY, int>)(lpVtbl[33]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), Category));
 }
Beispiel #5
0
 public HRESULT SetBreakOnCategory(D3D11_MESSAGE_CATEGORY Category, BOOL bEnable)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_CATEGORY, BOOL, int>)(lpVtbl[30]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), Category, bEnable));
 }
Beispiel #6
0
 public HRESULT AddMessage(D3D11_MESSAGE_CATEGORY Category, D3D11_MESSAGE_SEVERITY Severity, D3D11_MESSAGE_ID ID, [NativeTypeName("LPCSTR")] sbyte *pDescription)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_CATEGORY, D3D11_MESSAGE_SEVERITY, D3D11_MESSAGE_ID, sbyte *, int>)(lpVtbl[28]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription));
 }
Beispiel #7
0
 public int SetBreakOnCategory(D3D11_MESSAGE_CATEGORY Category, [NativeTypeName("BOOL")] int bEnable)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_CATEGORY, int, int>)(lpVtbl[30]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), Category, bEnable));
 }