public override bool IsActive(RenderSettings settings) { switch (settings.Parameters.FillMode) { case FillMode.Solid: _fillMode = SlimDX.Direct3D9.FillMode.Solid; return true; case FillMode.Wireframe: _fillMode = SlimDX.Direct3D9.FillMode.Wireframe; return true; default: return false; } }
public override bool IsActive(RenderSettings settings) { switch (settings.Parameters.FillMode) { case FillMode.Solid: _fillMode = SlimDX.Direct3D9.FillMode.Solid; return(true); case FillMode.Wireframe: _fillMode = SlimDX.Direct3D9.FillMode.Wireframe; return(true); default: return(false); } }