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...)IntShader - starsBillboard with custom textureAnnotationsLabelLineLine GPULine lateAtmospheres of planetsUsing default shader, no normal mapModel close upCloudsOnly diffuseUsing 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 starThrustersNoneA particle group defined by orbital elementsA particle defined by orbital elementsParticle groupPointPoint GPUSingle pixelShapesA skybox rendered with a cubemapStar groupVariable star group -
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
-
MODEL_PIX
Using normal shader for per-pixel lighting. -
MODEL_PIX_TRANSPARENT
Using normal shader for per-pixel lighting, rendered late for items with transparency. -
MODEL_BG
Using default shader, no normal map -
BILLBOARD_STAR
IntShader - stars -
BILLBOARD_GAL
IntShader - galaxies -
BILLBOARD_SSO
IntShader - front (planets, satellites...) -
BILLBOARD_TEX
Billboard with custom texture -
POINT_STAR
Single pixel -
LINE
Line -
LINE_LATE
Line late -
FONT_ANNOTATION
Annotations -
MODEL_ATM
Atmospheres of planets -
FONT_LABEL
Label -
MODEL_VERT_STAR
Model star -
BILLBOARD_GROUP
Group of billboard datasets -
MODEL_CLOSEUP
Model close up -
MODEL_VERT_BEAM
Beams -
PARTICLE_GROUP
Particle group -
STAR_GROUP
Star group -
SHAPE
Shapes -
BILLBOARD_SPRITE
Regular billboard sprite -
LINE_GPU
Line GPU -
ORBITAL_ELEMENTS_PARTICLE
A particle defined by orbital elements -
ORBITAL_ELEMENTS_GROUP
A particle group defined by orbital elements -
MODEL_VERT_ADDITIVE
Transparent additive-blended meshes -
MODEL_VERT_GRID
Grids shader -
MODEL_CLOUD
Clouds -
POINT
Point -
POINT_GPU
Point GPU -
MODEL_PIX_DUST
Opaque meshes (dust, etc.) -
MODEL_PIX_TESS
Tessellated model -
MODEL_DIFFUSE
Only diffuse -
MODEL_VERT_RECGRID
Recursive grid -
MODEL_VERT_THRUSTER
Thrusters -
VARIABLE_GROUP
Variable star group -
MODEL_PIX_EARLY
Per-pixel lighting (early in the rendering pipeline) -
MODEL_VERT_EARLY
Per-vertex lighting (early in the rendering pipeline) -
SKYBOX
A skybox rendered with a cubemap -
NONE
None
-
-
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)
-