private int GetPrimitiveSize(IAPrimitive primitiveType) { switch (primitiveType) { case IAPrimitive.LineList: case IAPrimitive.LineStrip: return(2); case IAPrimitive.PointList: return(1); default: return(3); } }
protected abstract void IASetPrimitiveType(IAPrimitive value);
protected override void IASetPrimitiveType(IAPrimitive value) { throw new NotImplementedException(); }