MODE 81 samples/directx/d3dsample.hpp m_mode = static_cast<MODE>((char)wParam - '0'); MODE 112 samples/directx/d3dsample.hpp MODE m_mode;