示例#1
0
 public int GetBreakOnID(D3D11_MESSAGE_ID ID)
 {
     if (m_GetBreakOnIDFunc == null)
     {
         var fp = GetFunctionPointer(35);
         m_GetBreakOnIDFunc = (GetBreakOnIDFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetBreakOnIDFunc));
     }
     return(m_GetBreakOnIDFunc(m_ptr, ID));
 }
示例#2
0
 public int SetBreakOnID(D3D11_MESSAGE_ID ID, int bEnable)
 {
     if (m_SetBreakOnIDFunc == null)
     {
         var fp = GetFunctionPointer(32);
         m_SetBreakOnIDFunc = (SetBreakOnIDFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetBreakOnIDFunc));
     }
     return(m_SetBreakOnIDFunc(m_ptr, ID, bEnable));
 }
示例#3
0
 public BOOL GetBreakOnID(D3D11_MESSAGE_ID ID)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_ID, int>)(lpVtbl[35]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), ID));
 }
示例#4
0
 public HRESULT SetBreakOnID(D3D11_MESSAGE_ID ID, BOOL bEnable)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_ID, BOOL, int>)(lpVtbl[32]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), ID, bEnable));
 }
示例#5
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));
 }
示例#6
0
 public int SetBreakOnID(D3D11_MESSAGE_ID ID, [NativeTypeName("BOOL")] int bEnable)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_ID, int, int>)(lpVtbl[32]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), ID, bEnable));
 }
示例#7
0
 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));
 }