예제 #1
0
        public GraphicsTriangleSoup Finish()
        {
            AssertUnMapped();
            ControlPointQuery    q = query;
            ShapeIndexBufferView i = indexBuffer;

            query = null;
            return(new GraphicsTriangleSoup(q, i, shapeCount));
        }
예제 #2
0
 /// <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;
 }
예제 #3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="query"></param>
 /// <param name="indexBuffer"></param>
 public GraphicsTriangleSoupBuilder(ControlPointQuery query, ShapeIndexBufferView indexBuffer)
 {
     this.query       = query;
     this.indexBuffer = indexBuffer;
 }