Ejemplo n.º 1
0
 public int GetBreakOnID(D3D10_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));
 }
Ejemplo n.º 2
0
 public int SetBreakOnID(D3D10_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));
 }
Ejemplo n.º 3
0
 public int GetBreakOnID(D3D10_MESSAGE_ID ID)
 {
     return(((delegate * unmanaged <ID3D10InfoQueue *, D3D10_MESSAGE_ID, int>)(lpVtbl[35]))((ID3D10InfoQueue *)Unsafe.AsPointer(ref this), ID));
 }
Ejemplo n.º 4
0
 public int SetBreakOnID(D3D10_MESSAGE_ID ID, [NativeTypeName("BOOL")] int bEnable)
 {
     return(((delegate * unmanaged <ID3D10InfoQueue *, D3D10_MESSAGE_ID, int, int>)(lpVtbl[32]))((ID3D10InfoQueue *)Unsafe.AsPointer(ref this), ID, bEnable));
 }
Ejemplo n.º 5
0
 public int AddMessage(D3D10_MESSAGE_CATEGORY Category, D3D10_MESSAGE_SEVERITY Severity, D3D10_MESSAGE_ID ID, [NativeTypeName("LPCSTR")] sbyte *pDescription)
 {
     return(((delegate * unmanaged <ID3D10InfoQueue *, D3D10_MESSAGE_CATEGORY, D3D10_MESSAGE_SEVERITY, D3D10_MESSAGE_ID, sbyte *, int>)(lpVtbl[28]))((ID3D10InfoQueue *)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription));
 }
Ejemplo n.º 6
0
 public int AddMessage(D3D10_MESSAGE_CATEGORY Category, D3D10_MESSAGE_SEVERITY Severity, D3D10_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));
 }
 public HRESULT SetBreakOnID(D3D10_MESSAGE_ID ID, BOOL bEnable)
 {
     return(((delegate * unmanaged <ID3D10InfoQueue *, D3D10_MESSAGE_ID, BOOL, int>)(lpVtbl[32]))((ID3D10InfoQueue *)Unsafe.AsPointer(ref this), ID, bEnable));
 }