Package gaiasky.data

Class DesktopSceneGraphImplementationProvider

java.lang.Object
gaiasky.data.SceneGraphImplementationProvider
gaiasky.data.DesktopSceneGraphImplementationProvider

public class DesktopSceneGraphImplementationProvider extends SceneGraphImplementationProvider
  • Constructor Details

    • DesktopSceneGraphImplementationProvider

      public DesktopSceneGraphImplementationProvider()
  • Method Details

    • getImplementation

      public ISceneGraph getImplementation(boolean multithreading, boolean hasOctree, boolean hasStarGroup, int maxThreads, int numNodes)
      Description copied from class: SceneGraphImplementationProvider
      Gets the right scene graph implementation for the given information about it.
      Specified by:
      getImplementation in class SceneGraphImplementationProvider
      Parameters:
      multithreading - Multithreading on?
      hasOctree - Does it have an octree?
      hasStarGroup - Does it contain a star group?
      maxThreads - Max number of threads.
      numNodes - Initial number of nodes.
      Returns:
      The scene graph.