Package gaiasky.render
Enum Class RenderGroup
- All Implemented Interfaces:
Serializable
,Comparable<RenderGroup>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIntShader - galaxiesGroup of billboard datasetsRegular billboard spriteIntShader - front (planets, satellites...)Star billboardsAnnotationsLabelLineLine GPULine lateAtmospheres of planetsUsing default shader, no normal mapCloudsModels with only diffuse lightingUsing normal shader for per-pixel lighting.Opaque meshes (dust, etc.)Per-pixel lighting (early in the rendering pipeline)Tessellated modelUsing normal shader for per-pixel lighting, rendered late for items with transparency.Transparent additive-blended meshesBeamsPer-vertex lighting (early in the rendering pipeline)Grids shaderRecursive gridModel starNoneA particle group defined by orbital elementsA particle defined by orbital elementsParticle effectsParticle groupParticle group (extended, billboards)Particle group (extended, wireframes)PointPoint GPUSingle pixelShapesA skybox rendered with a cubemapStar groupVariable star group -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.badlogic.gdx.utils.Bits
add
(com.badlogic.gdx.utils.Bits renderGroupMask, RenderGroup... rgs) Adds the given render groups to the given Bits maskboolean
is
(com.badlogic.gdx.utils.Bits renderGroupMask) static com.badlogic.gdx.utils.Bits
set
(com.badlogic.gdx.utils.Bits renderGroupMask, RenderGroup... rgs) Sets the given Bits mask to the given render groupsstatic RenderGroup
Returns the enum constant of this class with the specified name.static RenderGroup[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
None -
SKYBOX
A skybox rendered with a cubemap -
MODEL_BG
Using default shader, no normal map -
MODEL_VERT_GRID
Grids shader -
POINT_STAR
Single pixel -
FONT_ANNOTATION
Annotations -
MODEL_PIX_DUST
Opaque meshes (dust, etc.) -
MODEL_PIX_EARLY
Per-pixel lighting (early in the rendering pipeline) -
MODEL_VERT_EARLY
Per-vertex lighting (early in the rendering pipeline) -
BILLBOARD_GROUP
Group of billboard datasets -
BILLBOARD_STAR
Star billboards -
PARTICLE_GROUP
Particle group -
PARTICLE_GROUP_EXT_BILLBOARD
Particle group (extended, billboards) -
PARTICLE_GROUP_EXT_MODEL
Particle group (extended, wireframes) -
STAR_GROUP
Star group -
VARIABLE_GROUP
Variable star group -
ORBITAL_ELEMENTS_PARTICLE
A particle defined by orbital elements -
ORBITAL_ELEMENTS_GROUP
A particle group defined by orbital elements -
MODEL_DIFFUSE
Models with only diffuse lighting -
MODEL_PIX
Using normal shader for per-pixel lighting. -
MODEL_PIX_TESS
Tessellated model -
MODEL_VERT_BEAM
Beams -
MODEL_VERT_STAR
Model star -
FONT_LABEL
Label -
BILLBOARD_SPRITE
Regular billboard sprite -
BILLBOARD_GAL
IntShader - galaxies -
MODEL_VERT_RECGRID
Recursive grid -
POINT
Point -
POINT_GPU
Point GPU -
LINE
Line -
LINE_GPU
Line GPU -
BILLBOARD_SSO
IntShader - front (planets, satellites...) -
MODEL_ATM
Atmospheres of planets -
MODEL_CLOUD
Clouds -
MODEL_PIX_TRANSPARENT
Using normal shader for per-pixel lighting, rendered late for items with transparency. -
LINE_LATE
Line late -
SHAPE
Shapes -
PARTICLE_EFFECTS
Particle effects -
MODEL_VERT_ADDITIVE
Transparent additive-blended meshes
-
-
Field Details
-
priority
public final int priority
-
-
Method Details
-
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
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 nameNullPointerException
- 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 maskrgs
- 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 maskrgs
- The render groups- Returns:
- The bits instance
-
is
public boolean is(com.badlogic.gdx.utils.Bits renderGroupMask)
-