17/02/10 21:43:49.75 OSge0geU.net
ちょっと追加機能眺めてたけど生文字列R""って便利だな
マクロで先頭と右端に""を付け加えるのやってたんだけど
const char* fragment_shader =
"#version 400\n"
"\n"
"uniform struct LightInfo {\n"
...
次からはこれですむので手間がかからない
const char* vertex_shader =
R"#version 400
layout (location=0) in vec3 VertexPosition;
layout (location=1) in vec3 VertexNormal;
..."