Ejemplo n.º 1
0
 /// <summary>
 /// Gets the debug interface.
 /// </summary>
 /// <returns></returns>
 public static DebugInterface Get()
 {
     if (debugInterface == null)
     {
         IntPtr debugInterfacePtr;
         D3D12.GetDebugInterface(Utilities.GetGuidFromType(typeof(DebugInterface)), out debugInterfacePtr);
         debugInterface = new DebugInterface(debugInterfacePtr);
     }
     return(debugInterface);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the debug interface.
 /// </summary>
 /// <returns></returns>
 public static DebugInterface Get()
 {
     if (debugInterface == null)
     {
         IntPtr debugInterfacePtr;
         D3D12.GetDebugInterface(Utilities.GetGuidFromType(typeof(DebugInterface)), out debugInterfacePtr);
         debugInterface = new DebugInterface(debugInterfacePtr);
     }
     return debugInterface;
 }