Enum Class RenderGroup

java.lang.Object
java.lang.Enum<RenderGroup>
gaiasky.render.RenderGroup
All Implemented Interfaces:
Serializable, Comparable<RenderGroup>, Constable

public enum RenderGroup extends Enum<RenderGroup>
  • Enum Constant Details

    • MODEL_PIX

      public static final RenderGroup MODEL_PIX
      Using normal shader for per-pixel lighting.
    • MODEL_PIX_TRANSPARENT

      public static final RenderGroup MODEL_PIX_TRANSPARENT
      Using normal shader for per-pixel lighting, rendered late for items with transparency.
    • MODEL_BG

      public static final RenderGroup MODEL_BG
      Using default shader, no normal map
    • BILLBOARD_STAR

      public static final RenderGroup BILLBOARD_STAR
      IntShader - stars
    • BILLBOARD_GAL

      public static final RenderGroup BILLBOARD_GAL
      IntShader - galaxies
    • BILLBOARD_SSO

      public static final RenderGroup BILLBOARD_SSO
      IntShader - front (planets, satellites...)
    • BILLBOARD_TEX

      public static final RenderGroup BILLBOARD_TEX
      Billboard with custom texture
    • POINT_STAR

      public static final RenderGroup POINT_STAR
      Single pixel
    • LINE

      public static final RenderGroup LINE
      Line
    • LINE_LATE

      public static final RenderGroup LINE_LATE
      Line late
    • FONT_ANNOTATION

      public static final RenderGroup FONT_ANNOTATION
      Annotations
    • MODEL_ATM

      public static final RenderGroup MODEL_ATM
      Atmospheres of planets
    • FONT_LABEL

      public static final RenderGroup FONT_LABEL
      Label
    • MODEL_VERT_STAR

      public static final RenderGroup MODEL_VERT_STAR
      Model star
    • BILLBOARD_GROUP

      public static final RenderGroup BILLBOARD_GROUP
      Group of billboard datasets
    • MODEL_CLOSEUP

      public static final RenderGroup MODEL_CLOSEUP
      Model close up
    • MODEL_VERT_BEAM

      public static final RenderGroup MODEL_VERT_BEAM
      Beams
    • PARTICLE_GROUP

      public static final RenderGroup PARTICLE_GROUP
      Particle group
    • STAR_GROUP

      public static final RenderGroup STAR_GROUP
      Star group
    • SHAPE

      public static final RenderGroup SHAPE
      Shapes
    • BILLBOARD_SPRITE

      public static final RenderGroup BILLBOARD_SPRITE
      Regular billboard sprite
    • LINE_GPU

      public static final RenderGroup LINE_GPU
      Line GPU
    • ORBITAL_ELEMENTS_PARTICLE

      public static final RenderGroup ORBITAL_ELEMENTS_PARTICLE
      A particle defined by orbital elements
    • ORBITAL_ELEMENTS_GROUP

      public static final RenderGroup ORBITAL_ELEMENTS_GROUP
      A particle group defined by orbital elements
    • MODEL_VERT_ADDITIVE

      public static final RenderGroup MODEL_VERT_ADDITIVE
      Transparent additive-blended meshes
    • MODEL_VERT_GRID

      public static final RenderGroup MODEL_VERT_GRID
      Grids shader
    • MODEL_CLOUD

      public static final RenderGroup MODEL_CLOUD
      Clouds
    • POINT

      public static final RenderGroup POINT
      Point
    • POINT_GPU

      public static final RenderGroup POINT_GPU
      Point GPU
    • MODEL_PIX_DUST

      public static final RenderGroup MODEL_PIX_DUST
      Opaque meshes (dust, etc.)
    • MODEL_PIX_TESS

      public static final RenderGroup MODEL_PIX_TESS
      Tessellated model
    • MODEL_DIFFUSE

      public static final RenderGroup MODEL_DIFFUSE
      Only diffuse
    • MODEL_VERT_RECGRID

      public static final RenderGroup MODEL_VERT_RECGRID
      Recursive grid
    • MODEL_VERT_THRUSTER

      public static final RenderGroup MODEL_VERT_THRUSTER
      Thrusters
    • VARIABLE_GROUP

      public static final RenderGroup VARIABLE_GROUP
      Variable star group
    • MODEL_PIX_EARLY

      public static final RenderGroup MODEL_PIX_EARLY
      Per-pixel lighting (early in the rendering pipeline)
    • MODEL_VERT_EARLY

      public static final RenderGroup MODEL_VERT_EARLY
      Per-vertex lighting (early in the rendering pipeline)
    • SKYBOX

      public static final RenderGroup SKYBOX
      A skybox rendered with a cubemap
    • NONE

      public static final RenderGroup NONE
      None
  • Method Details

    • values

      public static RenderGroup[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RenderGroup valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • add

      public static com.badlogic.gdx.utils.Bits add(com.badlogic.gdx.utils.Bits renderGroupMask, RenderGroup... rgs)
      Adds the given render groups to the given Bits mask
      Parameters:
      renderGroupMask - The bit mask
      rgs - The render groups
      Returns:
      The bits instance
    • set

      public static com.badlogic.gdx.utils.Bits set(com.badlogic.gdx.utils.Bits renderGroupMask, RenderGroup... rgs)
      Sets the given Bits mask to the given render groups
      Parameters:
      renderGroupMask - The bit mask
      rgs - The render groups
      Returns:
      The bits instance
    • is

      public boolean is(com.badlogic.gdx.utils.Bits renderGroupMask)