|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RenderQueue.Bucket>
com.jme3.renderer.queue.RenderQueue.Bucket
public static enum RenderQueue.Bucket
The render queue Bucket
specifies the bucket
to which the spatial will be placed when rendered.
The behavior of the rendering will differ depending on which
bucket the spatial is placed. A spatial's queue bucket can be set
via Spatial.setQueueBucket(com.jme3.renderer.queue.RenderQueue.Bucket)
.
Enum Constant Summary | |
---|---|
Gui
This is a special mode, for drawing 2D object without perspective (such as GUI or HUD parts). |
|
Inherit
A special mode, that will ensure that this spatial uses the same mode as the parent Node does. |
|
Opaque
The renderer will try to find the optimal order for rendering all objects using this mode. |
|
Sky
A special mode used for rendering really far away, flat objects - e.g. |
|
Translucent
A special mode used for rendering transparent objects that should not be effected by SceneProcessor . |
|
Transparent
This is the mode you should use for object with transparency in them. |
Method Summary | |
---|---|
static RenderQueue.Bucket |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RenderQueue.Bucket[] |
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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RenderQueue.Bucket Opaque
public static final RenderQueue.Bucket Transparent
public static final RenderQueue.Bucket Sky
public static final RenderQueue.Bucket Translucent
SceneProcessor
.
Generally this would contain translucent objects, and
also objects that do not write to the depth buffer such as
particle emitters.
public static final RenderQueue.Bucket Gui
public static final RenderQueue.Bucket Inherit
Method Detail |
---|
public static RenderQueue.Bucket[] values()
for (RenderQueue.Bucket c : RenderQueue.Bucket.values()) System.out.println(c);
public static RenderQueue.Bucket valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |