Archive for 1月 18th, 2014

Windowsストアアプリの描画のバッファリング(Direct2D)

土曜日, 1月 18th, 2014

覚書ですだ(C++)ID2D1BitmapRenderTargetを作って、CreateCompatibleRenderTarget
で、画面表示と同じRenderTergetを作成しておく。

処理のかかる描画をID2D1BitmapRenderTargetに描画する。

実際の描画するコンテキストに、DrawBitmapで描画する。

ちなみに、ID2D1BitmapRenderTarget::GetBitmap(**ID2D1Bitmap);で

ID2D1Bitmapにビットマップ化できますな。(^^)