Пример #1
0
 public static void SetRasterizerState(DeviceContext context, RasterizerStateType type)
 {
     context.Rasterizer.State = m_RasterizerStates[(int)type];
 }
Пример #2
0
 public static void SetRasterizerState(DeviceContext context, RasterizerStateType type)
 {
     context.Rasterizer.State = m_RasterizerStates[(int)type];
 }