public static SharpDX.Direct3D.PrimitiveTopology ToPrimitiveType(GpuPrimitiveType primitiveType) { return((SharpDX.Direct3D.PrimitiveTopology)primitiveType); }
public void SetPrimitiveType(GpuPrimitiveType primitiveType) { //set primitive type ImmediateContext.InputAssembler.PrimitiveTopology = GpuConvert.ToPrimitiveType(primitiveType); }