Package games.pixscape.runtime.render
Class RenderSettings
java.lang.Object
games.pixscape.runtime.render.RenderSettings
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderSettingsarray(boolean requireES3) Mode TextureArray : requiert ES3 + support texture array.static RenderSettingsauto(boolean requireES3) Mode automatique : le BatchFactory choisira en fonction de GLCaps.static RenderSettingsdefaultEditor(GLCaps caps) Helper "intelligent" selon les capacités : - TextureArray si dispo - sinon MultiTexture si >= 8 units - sinon SIMPLEstatic RenderSettingsforDesktop(GLCaps caps) Profil desktop "comfort" : ARRAY si possible, sinon MULTI.static RenderSettingsforLowEndMobile(GLCaps caps) Profil mobile bas de gamme : forcer SIMPLE.mode()static RenderSettingsmulti()Mode multi-textures : MultiTextureMeshBatch si possible.booleanstatic RenderSettingssimple()Mode simple : batch 1 texture, aucun besoin ES3.boolean
-
Constructor Details
-
RenderSettings
-
-
Method Details
-
mode
-
requireES3
public boolean requireES3() -
useTextureArray
public boolean useTextureArray() -
simple
Mode simple : batch 1 texture, aucun besoin ES3. -
multi
Mode multi-textures : MultiTextureMeshBatch si possible. -
array
Mode TextureArray : requiert ES3 + support texture array. -
auto
Mode automatique : le BatchFactory choisira en fonction de GLCaps. -
defaultEditor
Helper "intelligent" selon les capacités : - TextureArray si dispo - sinon MultiTexture si >= 8 units - sinon SIMPLE -
forLowEndMobile
Profil mobile bas de gamme : forcer SIMPLE. -
forDesktop
Profil desktop "comfort" : ARRAY si possible, sinon MULTI.
-