public UIElement() { if (UIElement._overflowHiddenRasterizerState != null) { return; } RasterizerState rasterizerState = new RasterizerState(); rasterizerState.set_CullMode((CullMode)0); rasterizerState.set_ScissorTestEnable(true); UIElement._overflowHiddenRasterizerState = rasterizerState; }
public UIElement() { if (UIElement._overflowHiddenRasterizerState != null) { return; } RasterizerState rasterizerState = new RasterizerState(); int num1 = 0; rasterizerState.set_CullMode((CullMode)num1); int num2 = 1; rasterizerState.set_ScissorTestEnable(num2 != 0); UIElement._overflowHiddenRasterizerState = rasterizerState; }