Class LoaderBinary.LoaderIteratorBinary

java.lang.Object
com.irurueta.geometry.io.LoaderBinary.LoaderIteratorBinary
All Implemented Interfaces:
LoaderIterator
Enclosing class:
LoaderBinary

private class LoaderBinary.LoaderIteratorBinary extends Object implements LoaderIterator
Loader iterator in charge of loading file data in small chunks. Usually data is divided in chunks small enough that can be directly loaded by graphical layers such as OpenGL (which has a limit of 65535 indices when using Vertex Buffer Objects, which increase graphical performance).
  • Field Details

    • loader

      private final LoaderBinary loader
      Reference to loader loading binary file.
    • listener

      private LoaderIteratorListener listener
      Reference to the listener of this loader iterator. This listener will be notified when the loading process finishes so that resources can be freed.
  • Constructor Details

    • LoaderIteratorBinary

      public LoaderIteratorBinary(LoaderBinary loader)
      Constructor.
      Parameters:
      loader - reference to loader loading binary file.
  • Method Details