Exemple #1
0
        /// <summary>
        /// Implements <see cref="UMD.HCIL.PiccoloDirect3D.Util.TesselationVisitor.TessBegin">
        /// TesselationVisitor.TessBegin</see>.
        /// </summary>
        public virtual void TessBegin(P3Util.GlPrimitiveType which)
        {
            PrimitiveType type = P3Util.GetD3DPrimitiveType(which);

            this.renderListTypes.Add(new PrimitiveTypeInfo(renderList.Count, renderList.Count - 1, currentTesselationColor, type));
        }
 /// <summary>
 /// Notifies the <see cref="UMD.HCIL.PiccoloDirect3D.Util.TesselationVisitor">
 /// TesselationVisitor</see> of the start of a (triangle) primitive.
 /// </summary>
 /// <param name="which">The type of the primitive.</param>
 public virtual void TessBegin(P3Util.GlPrimitiveType which)
 {
     visitor.TessBegin(which);
 }