Class SVTRenderPass

java.lang.Object
gaiasky.scene.system.render.pass.SVTRenderPass

public class SVTRenderPass extends Object
Render pass for the sparse virtual textures. The operation is distributed over 5 consecutive frames to even out the contributions and achieve regular frame pacing.
  • Field Details

    • SVT_TILE_DETECTION_REDUCTION_FACTOR

      public static float SVT_TILE_DETECTION_REDUCTION_FACTOR
      The tile detection buffer is smaller than the main window by this factor. Should match the constant with the same name in svt.detection.fragment.glsl and tess.svt.detection.fragment.glsl.
  • Constructor Details

    • SVTRenderPass

      public SVTRenderPass(SceneRenderer sceneRenderer)
  • Method Details

    • initialize

      public void initialize()
    • doneLoading

      public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)
    • render

      public void render(ICamera camera)
      We distribute the operation into five frames to distribute the load a bit.
      Parameters:
      camera - The camera.