Package gaiasky.render
Enum SceneGraphRenderer.RenderGroup
java.lang.Object
java.lang.Enum<SceneGraphRenderer.RenderGroup>
gaiasky.render.SceneGraphRenderer.RenderGroup
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SceneGraphRenderer.RenderGroup>
,java.lang.constant.Constable
- Enclosing class:
- SceneGraphRenderer
public static enum SceneGraphRenderer.RenderGroup extends java.lang.Enum<SceneGraphRenderer.RenderGroup>
Describes to which render group this node belongs at a particular time
step
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description BILLBOARD_GAL
IntShader - galaxiesBILLBOARD_SPRITE
Regular billboard spriteBILLBOARD_SSO
IntShader - front (planets, satellites...)BILLBOARD_STAR
IntShader - starsBILLBOARD_TEX
Billboard with custom textureFONT_ANNOTATION
AnnotationsFONT_LABEL
LabelGALAXY
Galaxy as a wholeLINE
LineLINE_GPU
Line GPUMODEL_ATM
Atmospheres of planetsMODEL_CLOSEUP
Model close upMODEL_CLOUD
CloudsMODEL_DIFFUSE
Only diffuseMODEL_PIX
Using normal shader for per-pixel lightingMODEL_PIX_DUST
Opaque meshes (dust, etc.)MODEL_PIX_TESS
Tessellated modelMODEL_VERT
Using default shader, no normal mapMODEL_VERT_ADDITIVE
Transparent additive-blended meshesMODEL_VERT_BEAM
BeamsMODEL_VERT_GRID
Grids shaderMODEL_VERT_RECGRID
Recursive gridMODEL_VERT_STAR
Model starNONE
NonePARTICLE_GROUP
Particle grupPARTICLE_ORBIT_ELEMENTS
Particle positions from orbital elementsPOINT
PointPOINT_GPU
Point GPUPOINT_STAR
Single pixelSHAPE
ShapesSTAR_GROUP
Star grup -
Method Summary
Modifier and Type Method Description static com.badlogic.gdx.utils.Bits
add(com.badlogic.gdx.utils.Bits renderGroupMask, SceneGraphRenderer.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, SceneGraphRenderer.RenderGroup... rgs)
Sets the given Bits mask to the given render groupsstatic SceneGraphRenderer.RenderGroup
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SceneGraphRenderer.RenderGroup[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
MODEL_PIX
Using normal shader for per-pixel lighting -
MODEL_VERT
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 -
FONT_ANNOTATION
Annotations -
MODEL_ATM
Atmospheres of planets -
FONT_LABEL
Label -
MODEL_VERT_STAR
Model star -
GALAXY
Galaxy as a whole -
MODEL_CLOSEUP
Model close up -
MODEL_VERT_BEAM
Beams -
PARTICLE_GROUP
Particle grup -
STAR_GROUP
Star grup -
SHAPE
Shapes -
BILLBOARD_SPRITE
Regular billboard sprite -
LINE_GPU
Line GPU -
PARTICLE_ORBIT_ELEMENTS
Particle positions from 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 -
NONE
None
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
is
public boolean is(com.badlogic.gdx.utils.Bits renderGroupMask) -
add
public static com.badlogic.gdx.utils.Bits add(com.badlogic.gdx.utils.Bits renderGroupMask, SceneGraphRenderer.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, SceneGraphRenderer.RenderGroup... rgs)Sets the given Bits mask to the given render groups- Parameters:
renderGroupMask
- The bit maskrgs
- The render groups- Returns:
- The bits instance
-