This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
LRESULT CALLBACK WndProc(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam) { | |
switch (Message) { | |
case WM_DESTROY: { | |
PostQuitMessage(0); | |
break; | |
} | |
default: | |
return DefWindowProc(hWnd, Message, wParam, lParam); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <locale> | |
#include <memory> | |
#include <string> | |
#include <comdef.h> | |
#include <dxgi.h> | |
#include <d3d11.h> | |
#pragma comment(lib, "comsuppw.lib") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Threading; | |
public sealed class Logger | |
{ | |
[Flags] | |
public enum Targets | |
{ |