예제 #1
0
 public int GetBreakOnSeverity(D3D11_MESSAGE_SEVERITY Severity)
 {
     if (m_GetBreakOnSeverityFunc == null)
     {
         var fp = GetFunctionPointer(34);
         m_GetBreakOnSeverityFunc = (GetBreakOnSeverityFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetBreakOnSeverityFunc));
     }
     return(m_GetBreakOnSeverityFunc(m_ptr, Severity));
 }
예제 #2
0
 public int SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY Severity, int bEnable)
 {
     if (m_SetBreakOnSeverityFunc == null)
     {
         var fp = GetFunctionPointer(31);
         m_SetBreakOnSeverityFunc = (SetBreakOnSeverityFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetBreakOnSeverityFunc));
     }
     return(m_SetBreakOnSeverityFunc(m_ptr, Severity, bEnable));
 }
예제 #3
0
 public int AddApplicationMessage(D3D11_MESSAGE_SEVERITY Severity, [MarshalAs(UnmanagedType.LPStr)] string pDescription)
 {
     if (m_AddApplicationMessageFunc == null)
     {
         var fp = GetFunctionPointer(29);
         m_AddApplicationMessageFunc = (AddApplicationMessageFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(AddApplicationMessageFunc));
     }
     return(m_AddApplicationMessageFunc(m_ptr, Severity, pDescription));
 }
예제 #4
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));
 }
예제 #5
0
 public BOOL GetBreakOnSeverity(D3D11_MESSAGE_SEVERITY Severity)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_SEVERITY, int>)(lpVtbl[34]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), Severity));
 }
예제 #6
0
 public HRESULT SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY Severity, BOOL bEnable)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_SEVERITY, BOOL, int>)(lpVtbl[31]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), Severity, bEnable));
 }
예제 #7
0
 public HRESULT AddApplicationMessage(D3D11_MESSAGE_SEVERITY Severity, [NativeTypeName("LPCSTR")] sbyte *pDescription)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_SEVERITY, sbyte *, int>)(lpVtbl[29]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), Severity, pDescription));
 }
예제 #8
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));
 }
예제 #9
0
 public int SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY Severity, [NativeTypeName("BOOL")] int bEnable)
 {
     return(((delegate * unmanaged <ID3D11InfoQueue *, D3D11_MESSAGE_SEVERITY, int, int>)(lpVtbl[31]))((ID3D11InfoQueue *)Unsafe.AsPointer(ref this), Severity, bEnable));
 }