public GraphicsTriangleSoup Finish() { AssertUnMapped(); ControlPointQuery q = query; ShapeIndexBufferView i = indexBuffer; query = null; return(new GraphicsTriangleSoup(q, i, shapeCount)); }
/// <summary> /// The line soup constructor. /// </summary> /// <remarks>Use the builder class to obtain "validated" versions.</remarks> /// <param name="query"></param> /// <param name="indexBuffer"></param> /// <param name="shapeCount"></param> public GraphicsLineSoup(ControlPointQuery query, ShapeIndexBufferView indexBuffer, uint shapeCount) { this.query = query; this.indexBuffer = indexBuffer; this.shapeCount = shapeCount; }
/// <summary> /// Constructor. /// </summary> /// <param name="query"></param> /// <param name="indexBuffer"></param> public GraphicsTriangleSoupBuilder(ControlPointQuery query, ShapeIndexBufferView indexBuffer) { this.query = query; this.indexBuffer = indexBuffer; }