=== DiscardContentsの注意点 ===
DiscardContentsは「GraphicsDeviceDiscardContents設定になっていると「GraphicsDevice.SetRenderTargetするたびに破棄(初期化)される」という特徴がある。この特性があるためレンダリング系APIの呼出順序を間違えると残念なことになる。
<source lang="csharp">
GraphicsDevice.SetRenderTarget(このRenderTargetは初期化される);