dx11/main.cpp
//-----------------------------------------------------------------------------
// [SECTION] general per-frame function implementations
//-----------------------------------------------------------------------------
[SECTION] general per-frame function implementations
[ SECTION ] general per - frame function implementations
static void
begin_pass()
{
    static float clear_color[4] = { 60.0f/255.0f, 60.0f/255.0f, 60.0f/255.0f, 1.0f };
    g_context->ClearRenderTargetView(g_frameBufferView, clear_color);
    g_context->OMSetRenderTargets(1, &g_frameBufferView, nullptr);
}
static void begin_pass ( ) { static float clear_color [ 4 ] = { 60.0f / 255.0f , 60.0f / 255.0f , 60.0f / 255.0f , 1.0f } ; g_context -> ClearRenderTargetView ( g_frameBufferView , clear_color ) ; g_context -> OMSetRenderTargets ( 1 , & g_frameBufferView , nullptr ) ; }
[SECTION] general per-frame function implementations
[ SECTION ] general per - frame function implementations