public final void end() {
      if(this.vertices > 0) {
         this.buffer.clear();
         this.buffer.put(this.data, 0, this.length);
         this.buffer.flip();
         if(this.texture && this.color) {
            GL11.glInterleavedArrays(10794, 0, this.buffer);
         } else if(this.texture) {
            GL11.glInterleavedArrays(10791, 0, this.buffer);
         } else if(this.color) {
            GL11.glInterleavedArrays(10788, 0, this.buffer);
         } else {
            GL11.glInterleavedArrays(10785, 0, this.buffer);
         }

         GL11.glEnableClientState('\u8074');
         if(this.texture) {
            GL11.glEnableClientState('\u8078');
         }

         if(this.color) {
            GL11.glEnableClientState('\u8076');
         }

         GL11.glDrawArrays(7, 0, this.vertices);
         GL11.glDisableClientState('\u8074');
         if(this.texture) {
            GL11.glDisableClientState('\u8078');
         }

         if(this.color) {
            GL11.glDisableClientState('\u8076');
         }
      }

      this.clear();
   }