public static enum RenderState.FaceCullMode extends java.lang.Enum<RenderState.FaceCullMode>
FaceCullMode
specifies the criteria for faces to be culled.Enum Constant and Description |
---|
Back
Cull back faces
|
Front
Cull front faces
|
FrontAndBack
Cull both front and back faces.
|
Off
Face culling is disabled.
|
Modifier and Type | Method and Description |
---|---|
static RenderState.FaceCullMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderState.FaceCullMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderState.FaceCullMode Off
public static final RenderState.FaceCullMode Front
public static final RenderState.FaceCullMode Back
public static final RenderState.FaceCullMode FrontAndBack
public static RenderState.FaceCullMode[] values()
for (RenderState.FaceCullMode c : RenderState.FaceCullMode.values()) System.out.println(c);
public static RenderState.FaceCullMode 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 namejava.lang.NullPointerException
- if the argument is null