/// <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); }
/// <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; }