Class ReprojectionFilter


public final class ReprojectionFilter extends Filter<ReprojectionFilter>
A re-projection filter with a bunch of projection types, encoded in mode.
  • Constructor Details

    • ReprojectionFilter

      public ReprojectionFilter(float width, float height)
    • ReprojectionFilter

      public ReprojectionFilter(int width, int height)
  • Method Details

    • setViewportSize

      public void setViewportSize(float width, float height)
    • setFov

      public void setFov(float fovDegrees)
      Sets the field of view, in degrees. Only needed when mode=1 (accurate)
      fovDegrees - The field of view in degrees.
    • setMode

      public void setMode(int mode)
    • onBeforeRender

      protected void onBeforeRender()
      Description copied from class: Filter
      This method will get called just before a rendering operation occurs.
      Specified by:
      onBeforeRender in class Filter<ReprojectionFilter>
    • rebind

      public void rebind()
      Specified by:
      rebind in class Filter<ReprojectionFilter>