Class RenderSettings

java.lang.Object
games.pixscape.runtime.render.RenderSettings

public final class RenderSettings extends Object
  • Constructor Details

  • Method Details

    • mode

    • requireES3

      public boolean requireES3()
    • useTextureArray

      public boolean useTextureArray()
    • simple

      public static RenderSettings simple()
      Mode simple : batch 1 texture, aucun besoin ES3.
    • multi

      public static RenderSettings multi()
      Mode multi-textures : MultiTextureMeshBatch si possible.
    • array

      public static RenderSettings array(boolean requireES3)
      Mode TextureArray : requiert ES3 + support texture array.
    • auto

      public static RenderSettings auto(boolean requireES3)
      Mode automatique : le BatchFactory choisira en fonction de GLCaps.
    • defaultEditor

      public static RenderSettings defaultEditor(GLCaps caps)
      Helper "intelligent" selon les capacités : - TextureArray si dispo - sinon MultiTexture si >= 8 units - sinon SIMPLE
    • forLowEndMobile

      public static RenderSettings forLowEndMobile(GLCaps caps)
      Profil mobile bas de gamme : forcer SIMPLE.
    • forDesktop

      public static RenderSettings forDesktop(GLCaps caps)
      Profil desktop "comfort" : ARRAY si possible, sinon MULTI.