Пример #1
0
 public static SharpDX.Direct3D.PrimitiveTopology ToPrimitiveType(GpuPrimitiveType primitiveType)
 {
     return((SharpDX.Direct3D.PrimitiveTopology)primitiveType);
 }
Пример #2
0
 public void SetPrimitiveType(GpuPrimitiveType primitiveType)
 {
     //set primitive type
     ImmediateContext.InputAssembler.PrimitiveTopology = GpuConvert.ToPrimitiveType(primitiveType);
 }