Class HybridBoundsManager

java.lang.Object
icyllis.arc3d.granite.geom.BoundsManager
icyllis.arc3d.granite.geom.HybridBoundsManager

public final class HybridBoundsManager extends BoundsManager
A BoundsManager that first relies on FullBoundsManager for N draw calls, and then switches to the GridBoundsManager if it exceeds its limit. For low N, the brute force approach is surprisingly efficient, has the highest accuracy, and very low memory overhead. Once the draw call count is large enough, the grid's lower performance complexity outweigh its memory cost and reduced accuracy.
  • Constructor Details

    • HybridBoundsManager

      public HybridBoundsManager(int deviceWidth, int deviceHeight, int gridCellSize, int maxBruteForceN, int maxGridSize)
  • Method Details