Enum SceneGraphNode.RenderGroup
- java.lang.Object
-
- java.lang.Enum<SceneGraphNode.RenderGroup>
-
- gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode.RenderGroup
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SceneGraphNode.RenderGroup>
- Enclosing class:
- SceneGraphNode
public static enum SceneGraphNode.RenderGroup extends java.lang.Enum<SceneGraphNode.RenderGroup>
Describes to which render vgroup this node belongs at a particular time step.
-
-
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_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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.badlogic.gdx.utils.Bits
add(com.badlogic.gdx.utils.Bits rgmask, SceneGraphNode.RenderGroup... rgs)
Adds the given render groups to the given Bits maskboolean
is(com.badlogic.gdx.utils.Bits rgmask)
static com.badlogic.gdx.utils.Bits
set(com.badlogic.gdx.utils.Bits rgmask, SceneGraphNode.RenderGroup... rgs)
Sets the given Bits mask to the given render groupsstatic SceneGraphNode.RenderGroup
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SceneGraphNode.RenderGroup[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODEL_PIX
public static final SceneGraphNode.RenderGroup MODEL_PIX
Using normal shader for per-pixel lighting
-
MODEL_VERT
public static final SceneGraphNode.RenderGroup MODEL_VERT
Using default shader, no normal map
-
BILLBOARD_STAR
public static final SceneGraphNode.RenderGroup BILLBOARD_STAR
IntShader - stars
-
BILLBOARD_GAL
public static final SceneGraphNode.RenderGroup BILLBOARD_GAL
IntShader - galaxies
-
BILLBOARD_SSO
public static final SceneGraphNode.RenderGroup BILLBOARD_SSO
IntShader - front (planets, satellites...)
-
BILLBOARD_TEX
public static final SceneGraphNode.RenderGroup BILLBOARD_TEX
Billboard with custom texture
-
POINT_STAR
public static final SceneGraphNode.RenderGroup POINT_STAR
Single pixel
-
LINE
public static final SceneGraphNode.RenderGroup LINE
Line
-
FONT_ANNOTATION
public static final SceneGraphNode.RenderGroup FONT_ANNOTATION
Annotations
-
MODEL_ATM
public static final SceneGraphNode.RenderGroup MODEL_ATM
Atmospheres of planets
-
FONT_LABEL
public static final SceneGraphNode.RenderGroup FONT_LABEL
Label
-
MODEL_VERT_STAR
public static final SceneGraphNode.RenderGroup MODEL_VERT_STAR
Model star
-
GALAXY
public static final SceneGraphNode.RenderGroup GALAXY
Galaxy as a whole
-
MODEL_CLOSEUP
public static final SceneGraphNode.RenderGroup MODEL_CLOSEUP
Model close up
-
MODEL_VERT_BEAM
public static final SceneGraphNode.RenderGroup MODEL_VERT_BEAM
Beams
-
PARTICLE_GROUP
public static final SceneGraphNode.RenderGroup PARTICLE_GROUP
Particle grup
-
STAR_GROUP
public static final SceneGraphNode.RenderGroup STAR_GROUP
Star grup
-
SHAPE
public static final SceneGraphNode.RenderGroup SHAPE
Shapes
-
BILLBOARD_SPRITE
public static final SceneGraphNode.RenderGroup BILLBOARD_SPRITE
Regular billboard sprite
-
LINE_GPU
public static final SceneGraphNode.RenderGroup LINE_GPU
Line GPU
-
PARTICLE_ORBIT_ELEMENTS
public static final SceneGraphNode.RenderGroup PARTICLE_ORBIT_ELEMENTS
Particle positions from orbital elements
-
MODEL_VERT_ADDITIVE
public static final SceneGraphNode.RenderGroup MODEL_VERT_ADDITIVE
Transparent additive-blended meshes
-
MODEL_VERT_GRID
public static final SceneGraphNode.RenderGroup MODEL_VERT_GRID
Grids shader
-
MODEL_CLOUD
public static final SceneGraphNode.RenderGroup MODEL_CLOUD
Clouds
-
POINT
public static final SceneGraphNode.RenderGroup POINT
Point
-
POINT_GPU
public static final SceneGraphNode.RenderGroup POINT_GPU
Point GPU
-
MODEL_PIX_DUST
public static final SceneGraphNode.RenderGroup MODEL_PIX_DUST
Opaque meshes (dust, etc.)
-
MODEL_PIX_TESS
public static final SceneGraphNode.RenderGroup MODEL_PIX_TESS
Tessellated model
-
MODEL_DIFFUSE
public static final SceneGraphNode.RenderGroup MODEL_DIFFUSE
Only diffuse
-
NONE
public static final SceneGraphNode.RenderGroup NONE
None
-
-
Method Detail
-
values
public static SceneGraphNode.RenderGroup[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SceneGraphNode.RenderGroup c : SceneGraphNode.RenderGroup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SceneGraphNode.RenderGroup valueOf(java.lang.String name)
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 rgmask)
-
add
public static com.badlogic.gdx.utils.Bits add(com.badlogic.gdx.utils.Bits rgmask, SceneGraphNode.RenderGroup... rgs)
Adds the given render groups to the given Bits mask- Parameters:
rgmask
- The bit maskrgs
- The render groups- Returns:
- The bits instance
-
set
public static com.badlogic.gdx.utils.Bits set(com.badlogic.gdx.utils.Bits rgmask, SceneGraphNode.RenderGroup... rgs)
Sets the given Bits mask to the given render groups- Parameters:
rgmask
- The bit maskrgs
- The render groups- Returns:
- The bits instance
-
-