示例#1
0
 /// <summary>
 /// Applies the provided RenderState to the graphics driver.
 /// At exit, the state of the graphics device matches the parameters of the provided RenderState.</summary>
 /// <param name="renderState">The RenderState to set the graphics device state to</param>
 public void Commit(RenderState renderState)
 {
     renderState.CommitAllBitsToGuardian(this);
     m_oldRenderState.Init(renderState);
     m_reset = false;
 }
 /// <summary>
 /// Applies the provided RenderState to the graphics driver.
 /// At exit, the state of the graphics device matches the parameters of the provided RenderState.</summary>
 /// <param name="renderState">The RenderState to set the graphics device state to</param>
 public void Commit(RenderState renderState)
 {
     renderState.CommitAllBitsToGuardian(this);
     m_oldRenderState.Init(renderState);
     m_reset = false;
 }