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_GALIntShader - galaxiesBILLBOARD_SPRITERegular billboard spriteBILLBOARD_SSOIntShader - front (planets, satellites...)BILLBOARD_STARIntShader - starsBILLBOARD_TEXBillboard with custom textureFONT_ANNOTATIONAnnotationsFONT_LABELLabelGALAXYGalaxy as a wholeLINELineLINE_GPULine GPUMODEL_ATMAtmospheres of planetsMODEL_CLOSEUPModel close upMODEL_CLOUDCloudsMODEL_DIFFUSEOnly diffuseMODEL_PIXUsing normal shader for per-pixel lightingMODEL_PIX_DUSTOpaque meshes (dust, etc.)MODEL_PIX_TESSTessellated modelMODEL_VERTUsing default shader, no normal mapMODEL_VERT_ADDITIVETransparent additive-blended meshesMODEL_VERT_BEAMBeamsMODEL_VERT_GRIDGrids shaderMODEL_VERT_RECGRIDRecursive gridMODEL_VERT_STARModel starNONENonePARTICLE_GROUPParticle grupPARTICLE_ORBIT_ELEMENTSParticle positions from orbital elementsPOINTPointPOINT_GPUPoint GPUPOINT_STARSingle pixelSHAPEShapesSTAR_GROUPStar grup -
Method Summary
Modifier and Type Method Description static com.badlogic.gdx.utils.Bitsadd(com.badlogic.gdx.utils.Bits renderGroupMask, SceneGraphRenderer.RenderGroup... rgs)Adds the given render groups to the given Bits maskbooleanis(com.badlogic.gdx.utils.Bits renderGroupMask)static com.badlogic.gdx.utils.Bitsset(com.badlogic.gdx.utils.Bits renderGroupMask, SceneGraphRenderer.RenderGroup... rgs)Sets the given Bits mask to the given render groupsstatic SceneGraphRenderer.RenderGroupvalueOf(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, valueOfMethods 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
-