private PlatformApplyState ( Microsoft.Xna.Framework.Graphics.GraphicsDevice device, bool force = false ) : void | ||
device | Microsoft.Xna.Framework.Graphics.GraphicsDevice | |
force | bool | |
리턴 | void |
internal void ApplyState(bool applyShaders) { PlatformBeginApplyState(); if (_blendStateDirty) { _actualBlendState.PlatformApplyState(this); _blendStateDirty = false; } if (_depthStencilStateDirty) { _actualDepthStencilState.PlatformApplyState(this); _depthStencilStateDirty = false; } if (_rasterizerStateDirty) { _actualRasterizerState.PlatformApplyState(this); _rasterizerStateDirty = false; } PlatformApplyState(applyShaders); }