public static void SetRasterizerState(DeviceContext context, RasterizerStateType type)
 {
     context.Rasterizer.State = m_RasterizerStates[(int)type];
 }
 public static void SetRasterizerState(DeviceContext context, RasterizerStateType type)
 {
     context.Rasterizer.State = m_RasterizerStates[(int)type];
 }